Commit 7f6e9cba by 赵增煜

fix

parent f4d9be19
...@@ -39,6 +39,7 @@ public function test() ...@@ -39,6 +39,7 @@ public function test()
public function prescriptionList(Request $request) public function prescriptionList(Request $request)
{ {
$authInfo = auth('api')->user(); $authInfo = auth('api')->user();
Log::info('用户信息=>'.json_encode($authInfo));
$query = PrescriptionModel::query(); $query = PrescriptionModel::query();
// TODO 判断当前登录的用户角色 // TODO 判断当前登录的用户角色
// $userInfo = User::with(['doctor', 'pharmacist'])->find($authInfo->id); // $userInfo = User::with(['doctor', 'pharmacist'])->find($authInfo->id);
......
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 sign in to comment