This commit is contained in:
wangjinlei
2022-08-16 16:37:25 +08:00
parent c3b93c9d65
commit ff65394c85
6 changed files with 179 additions and 8 deletions

View File

@@ -311,6 +311,14 @@ class User extends Controller
return jsonSuccess([]);
}
/**
* 退订用户的广告邮件
*/
public function unAdvertForUser($uid){
$this->user_obj->where('user_id',$uid)->update(['is_advert'=>1]);
echo 'Unsubscribe successfully!';
}
/**
* @title 申请期刊审稿人对于审稿人
* @description 申请期刊审稿人对于审稿人