company_id =15 限制用户测试
Change-Id: Id60a0135a4c28964ca0237b0281c6ae1d49753a9
This commit is contained in:
parent
afb2f2fcb0
commit
338f5a71ac
|
@ -359,6 +359,13 @@ class Recharge extends REST_Controller
|
||||||
'data' => array()
|
'data' => array()
|
||||||
), REST_Controller::HTTP_OK);
|
), 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);
|
$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) {
|
if(!$row) {
|
||||||
|
|
Loading…
Reference in New Issue