@@ -434,7 +434,7 @@ class User extends Api
* 注销用户
*/
public function cancellation(){
- if (\app\common\model\User::update(['status'=>'lock'],['id'=>$this->auth->id])){
+ if (\app\common\model\User::update(['status'=>'Hidden'],['id'=>$this->auth->id])){
$this->auth->logout();
$this->success('注销成功');
}
@@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
})
});
Form.api.bindevent($("form[role=form]"), function (data, ret) {
- Layer.alert(data.data);
+ // Layer.alert(data.data);
},
};
@@ -25,7 +25,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
+ // Layer.alert('操作成功');