Commit 470d2608 authored by hangjun83's avatar hangjun83

优化

parent 4fd626d8
...@@ -37,7 +37,7 @@ class AuthService ...@@ -37,7 +37,7 @@ class AuthService
$token = $requestParams['customer_token']; $token = $requestParams['customer_token'];
$platformCustomer = $this->platformCustomerRepository->findWhere([ $platformCustomer = $this->platformCustomerRepository->findWhere([
'platform_token' => $token 'token' => $token
]); ]);
if(!$platformCustomer->toArray()){ if(!$platformCustomer->toArray()){
throw new \Exception('token无效',500); throw new \Exception('token无效',500);
......
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