Commit be183a97 by 杨昕

tesg

parent 5e4a589a
Pipeline #10734 passed with stages
in 40 seconds
......@@ -349,8 +349,7 @@ function getRbac($request,$url='api/ram',$category_id = '' ){
function sign($username)
{
\Illuminate\Support\Facades\Auth::user();
$time = time();
$key = getenv("mis_key")?getenv("mis_key"):"ca780358d798c00dc18e148c9eaf618c";
$key = getenv("MIS_SIN_KEY")?getenv("MIS_SIN_KEY"):"ca780358d798c00dc18e148c9eaf618c";
return ['time' => $time, 'sign' => md5($username . $key . $time)];
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment