From 6fcc7beb9068acdd348a9927420bdad5243f42ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Thu, 13 Jun 2024 21:52:29 +0800 Subject: [PATCH] fixed --- api/controllers/wxapp/licheb/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/controllers/wxapp/licheb/User.php b/api/controllers/wxapp/licheb/User.php index a7343175..c9dd9cd1 100644 --- a/api/controllers/wxapp/licheb/User.php +++ b/api/controllers/wxapp/licheb/User.php @@ -17,7 +17,6 @@ class User extends Wxapp parent::__construct($inputs, $app_key); $this->login_white = array('get_ukey');//登录白名单 - $this->majia_white = array('get_ukey', 'get');//超级管理员披上马甲可操作权限 $this->check_status = array();//用户状态校验 $this->check_mobile = array();//需要手机号 $this->check_headimg = array();//授权微信信息 @@ -40,7 +39,7 @@ class User extends Wxapp */ protected function get_ukey() { - $mobile_white = ['18350451617', '13850003412', '13860199666']; + $mobile_white = ['18350451617', '13850003412', '13860199666', '13860199646']; $code = $this->input_param('code'); $mobile = $this->input_param('mobile'); $sms_code = $this->input_param('sms_code'); @@ -481,17 +480,18 @@ class User extends Wxapp $province_id = $this->input_param('province_id'); $city_id = $this->input_param('city_id'); $lists = []; - $o_where['status'] = 1; $biz_id_arr = explode(',', $this->session['biz_id']); $fileds = 'id,biz_name'; if ($this->session['biz_id'] && $biz_id_arr) { $province_id && $o_where = ['province_id' => $province_id]; $city_id && $o_where = ['city_id' => $city_id]; + $o_where['status'] = 1; $bizs = $this->biz_model->get_by_id_arr($biz_id_arr, $o_where, $fileds); } else { !$province_id && $province_id = '430000'; $province_id && $o_where = ['province_id' => $province_id]; $city_id && $o_where = ['city_id' => $city_id]; + $o_where['status'] = 1; $bizs = $this->biz_model->select($o_where, 'id desc', '', '', $fileds); } if ($bizs) {