|
|
@@ -34,14 +34,14 @@ class BaseController extends PublicController
|
|
|
$userId = jwt::getLoginId();
|
|
|
if (empty($userId)) {
|
|
|
if (!in_array($action->id, $this->guestAccess)) {
|
|
|
- util::fail('请先登录');
|
|
|
+ util::fail('请先登录哈');
|
|
|
}
|
|
|
}
|
|
|
$this->userId = $userId;
|
|
|
$user = UserClass::getById($userId, true);
|
|
|
if (empty($user)) {
|
|
|
if (!in_array($action->id, $this->guestAccess)) {
|
|
|
- util::fail('请先登录');
|
|
|
+ util::fail('请先登录吧');
|
|
|
}
|
|
|
}
|
|
|
$this->user = $user;
|