diff --git a/application/master/controller/Admin.php b/application/master/controller/Admin.php index 6f4d065..29699ff 100644 --- a/application/master/controller/Admin.php +++ b/application/master/controller/Admin.php @@ -70,6 +70,7 @@ class Admin extends Controller $data = $this->request->post(); $where['account'] = $data['account']; $where['password'] = md5($data['password']); + $res = $this->admin_obj->where($where)->find(); if($res){ return json(['code'=>0,'msg'=>'','data'=>$res]);