|
@@ -49,7 +49,7 @@ class BaseController extends PublicController
|
|
|
if (httpUtil::isMiniProgram()) {
|
|
if (httpUtil::isMiniProgram()) {
|
|
|
$userId = jwt::getLoginId();
|
|
$userId = jwt::getLoginId();
|
|
|
if (empty($userId)) {
|
|
if (empty($userId)) {
|
|
|
- util::fail('您还没有登陆');
|
|
|
|
|
|
|
+ util::notLogin('您还没有登陆');
|
|
|
}
|
|
}
|
|
|
$this->userId = $userId;
|
|
$this->userId = $userId;
|
|
|
$user = UserClass::getById($userId, true);
|
|
$user = UserClass::getById($userId, true);
|