mirror of
https://github.com/easychen/pushdeer.git
synced 2024-11-11 04:59:19 +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)
|
public function info(Request $request)
|
||||||
{
|
{
|
||||||
//return $_SESSION;
|
//return $_SESSION;
|
||||||
return PushDeerUser::where('id', $_SESSION['uid'])->get();
|
return http_result(PushDeerUser::where('id', $_SESSION['uid'])->get());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function fakeLogin(Request $request)
|
public function fakeLogin(Request $request)
|
||||||
|
BIN
doc/架构文档.key
Executable file
BIN
doc/架构文档.key
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user