|
|
|
@ -1157,7 +1157,7 @@ class MemberController extends ThinkController
|
|
|
|
|
M('device_bans', 'tab_')->add(['type'=>$type, 'tag'=>$tag, 'create_time'=>time(), 'operator_id'=>is_login()]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return $this->success("新增成功");
|
|
|
|
|
return $this->success("新增成功", U('Member/device_bans_list'));
|
|
|
|
|
} else {
|
|
|
|
|
M('device_bans', 'tab_')->where(['id'=>$id])->delete();
|
|
|
|
|
return $this->success("解除成功");
|
|
|
|
|