|
|
@@ -646,13 +646,6 @@ class MemberService extends BaseService
|
|
|
return message('账户不可操作已冻结或不存在,请联系客服',false);
|
|
|
}
|
|
|
|
|
|
- $followInfo = FollowModel::where(['id'=> $followUid, 'mark'=> 1,'status'=> 1])
|
|
|
- ->select(['id','user_id','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);
|