Browse Source

return $this->error

develop
李可松 4 years ago
parent
commit
4d0c9cc03e
  1. 2
      app/Http/Controllers/Api/LoginController.php

2
app/Http/Controllers/Api/LoginController.php

@ -48,7 +48,7 @@ class LoginController extends Controller
return $this->error($msg);
}
if (empty($res['session_key'])) {
$this->error('获取session_key失败');
return $this->error('获取session_key失败');
}
} catch (InvalidConfigException $e) {
return $this->error($e->getMessage());

Loading…
Cancel
Save