Commit 4fd626d8 authored by hangjun83's avatar hangjun83

优化

parent 68c18446
......@@ -37,7 +37,7 @@ class AuthService
$token = $requestParams['customer_token'];
$platformCustomer = $this->platformCustomerRepository->findWhere([
'token' => $token
'platform_token' => $token
]);
if(!$platformCustomer->toArray()){
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