|
|
@@ -646,6 +646,13 @@ class MemberService extends BaseService
|
|
|
return message('账户不可操作已冻结或不存在,请联系客服',false);
|
|
|
}
|
|
|
|
|
|
+ $followInfo = $this->model::where(['id'=> $followUid, 'mark'=> 1,'status'=> 1])
|
|
|
+ ->select(['id','openid','nickname','status'])
|
|
|
+ ->first();
|
|
|
+ if(!$followInfo){
|
|
|
+ return message('被关注用户不可操作或不存在',false);
|
|
|
+ }
|
|
|
+
|
|
|
$info = FollowModel::where(['user_id'=> $userId, 'follow_uid'=> $followUid])->select(['id','status'])->first();
|
|
|
if($info && $info->status == 1 && $status == 1){
|
|
|
return message('您已关注过', false);
|