新增接口弹窗
This commit is contained in:
@@ -522,6 +522,8 @@ class UserService extends BaseService
|
||||
{
|
||||
$user_info = $this->request->getAttribute("userInfo") ?? [];
|
||||
|
||||
$popup_type = $this->request->input('popup_type');
|
||||
|
||||
if (empty($user_info)){
|
||||
// 未登陆
|
||||
return success();
|
||||
@@ -529,6 +531,7 @@ class UserService extends BaseService
|
||||
|
||||
$params = array();
|
||||
$params['user_id'] = $user_info['user_id'];
|
||||
$params['popup_type'] = $popup_type;
|
||||
$popup = Popup::getList($params);
|
||||
if (empty($popup)){
|
||||
return success();
|
||||
|
||||
Reference in New Issue
Block a user