company_id =15 限制用户测试

Change-Id: Id60a0135a4c28964ca0237b0281c6ae1d49753a9
This commit is contained in:
vguanyiwgd 2024-05-10 15:37:59 +08:00
parent afb2f2fcb0
commit 338f5a71ac
1 changed files with 7 additions and 0 deletions

View File

@ -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) {