Commit 85a50add by 杨昕

tesg

parent 3fc9b0eb
Pipeline #10755 passed with stages
in 41 seconds
......@@ -32,11 +32,12 @@ class ApiMiddleware
$ajax = $request->ajax();
$user = Auth::user();
if (!isset($user->mis_uid)){
$user = Auth::user();
$request->replace(array_merge($request->all(),['mis_uid'=>$user->mis_uid]));
}
if (empty($user->name)){
if ($ajax){
......
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