作者 lyh

gx

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