From 338f5a71ac4793d71bb7c7095698a454370541cf Mon Sep 17 00:00:00 2001 From: vguanyiwgd Date: Fri, 10 May 2024 15:37:59 +0800 Subject: [PATCH] =?UTF-8?q?company=5Fid=20=3D15=20=E9=99=90=E5=88=B6?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id60a0135a4c28964ca0237b0281c6ae1d49753a9 --- backstage/application/api/controllers/api/Recharge.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backstage/application/api/controllers/api/Recharge.php b/backstage/application/api/controllers/api/Recharge.php index 0a3c993..795000a 100644 --- a/backstage/application/api/controllers/api/Recharge.php +++ b/backstage/application/api/controllers/api/Recharge.php @@ -359,6 +359,13 @@ class Recharge extends REST_Controller 'data' => array() ), REST_Controller::HTTP_OK); } + if($this->user->company_id == 15 && !in_array($this->user->id, array(52728, 52727))){ + $this->response(array( + 'status' => 0, + 'message' => '暂不能使用余额转移', + 'data' => array() + ), REST_Controller::HTTP_OK); + } $row = $this->Common_model->sql_get_one("select * from tb_account where supplier_id = {$zy_supplier_id} and type_id={$zy_type_id} and user_id = ".$this->user->id); if(!$row) {