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