mirror of
https://github.com/easychen/pushdeer.git
synced 2025-01-26 22:51:58 +08:00
修正接口返回值未包裹的问题
This commit is contained in:
parent
aa59344b12
commit
a036c8a558
@ -73,7 +73,7 @@ class PushDeerMessageController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
return ['result'=>$result];
|
||||
return http_result(['result'=>$result]);
|
||||
}
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@ class PushDeerUserController extends Controller
|
||||
public function info(Request $request)
|
||||
{
|
||||
//return $_SESSION;
|
||||
return PushDeerUser::where('id', $_SESSION['uid'])->get();
|
||||
return http_result(PushDeerUser::where('id', $_SESSION['uid'])->get());
|
||||
}
|
||||
|
||||
public function fakeLogin(Request $request)
|
||||
|
BIN
doc/架构文档.key
Executable file
BIN
doc/架构文档.key
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user