作者 lyh

gx

... ... @@ -11,8 +11,8 @@ class Manage extends Base
protected $hidden = ['password', 'token'];
const STATUS_ACTIVE = 1;
const STATUS_DISABLE = 0;
const STATUS_ACTIVE = 0;
const STATUS_DISABLE = 1;
/**
* 超级管理员ID, 当前ID拥有所有权限, 不能进行修改
... ... @@ -21,8 +21,8 @@ class Manage extends Base
public function statusMap(){
return [
self::STATUS_ACTIVE => '正常',
self::STATUS_DISABLE => '禁用',
self::STATUS_ACTIVE => '禁用',
self::STATUS_DISABLE => '正常',
];
}
}
... ...