From 7aac508fe14ce637de5acfcf20df6e2d9db3451d Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 10 Jan 2022 11:28:24 +0800 Subject: [PATCH] --- application/master/controller/Admin.php | 1 + 1 file changed, 1 insertion(+) 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]);