作者 lyh

gx

... ... @@ -75,7 +75,8 @@ class ManageLogic extends BaseLogic
* @time :2023/8/28 16:10
*/
public function getManagerInfo(){
$info = $this->model->read(['id'=>$this->param['id']]);
$info = $this->model->read(['id'=>$this->param['id']],
['id','name','email','mobile','status','gid','sort','dept_id','is_dept_manager','created_at','role','updated_at']);
if($info === false){
$this->fail('error');
}
... ...
... ... @@ -9,7 +9,7 @@ class Manage extends Base
//设置关联表名
protected $table = 'gl_manage';
protected $hidden = ['password', 'token'];
// protected $hidden = ['password', 'token'];
const STATUS_ACTIVE = 1;
const STATUS_DISABLE = 0;
... ...