@@ -98,7 +98,11 @@ class Useridconfirm extends Backend
$rs = Db::name('user')->where('id',$info['user_id'])->update($update);
//系统消息
- $msg_id = \app\common\model\Message::addMessage($info['user_id'],'实名认证','实名认证已经被取消');
+ $remark = '实名认证已经被取消';
+ if($status == 1){
+ $remark = '实名认证已经被恢复';
+ }
+ $msg_id = \app\common\model\Message::addMessage($info['user_id'],'实名认证',$remark);
Db::commit();