xiaogang 4 年之前
父节点
当前提交
fef1276ade
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Http/Controllers/Api/AuthorizationsController.php

+ 1 - 0
app/Http/Controllers/Api/AuthorizationsController.php

xqd
@@ -108,6 +108,7 @@ class AuthorizationsController extends Controller
                 throw new Exception($validator->messages()->first());
             }
             $res = $this->do_login($request->mobile,$request->password,$request->registrationId,$request->phoneModel);
+            file_put_contents('login_log.log',date("Y-m-d H:i:s").var_export($res,true).PHP_EOL,FILE_APPEND);
         }catch (\Exception $exception){
             return $this->response->errorForbidden($exception->getMessage());
         }