Change-Id: Ifb8c677bfb9f87e40e54334a11422d024d77675d
This commit is contained in:
vguanyiwgd 2024-06-05 16:16:37 +08:00
parent 1da6fca93e
commit 98c62ea546
1 changed files with 2 additions and 2 deletions

View File

@ -1050,7 +1050,7 @@ class Recharge extends CI_Controller
// 获取充值在赠送金额 // 获取充值在赠送金额
$this->load->library('Recharge_config'); $this->load->library('Recharge_config');
$rechargeInfo = $this->recharge_config->rechargeRule($userInfo, $userInfo['company_id'], $count, 2); $rechargeInfo = $this->recharge_config->rechargeRule($userInfo, $this->session->userdata("companyId"), $count, 2);
$rechargeInfo = json_decode($rechargeInfo, 1); $rechargeInfo = json_decode($rechargeInfo, 1);
$data['giveFee'] = 0; $data['giveFee'] = 0;
if($rechargeInfo['status'] == 1){ if($rechargeInfo['status'] == 1){
@ -1095,7 +1095,7 @@ class Recharge extends CI_Controller
//send_sms_p($smsList); //send_sms_p($smsList);
// 获取充值在赠送金额 // 获取充值在赠送金额
$this->load->library('Recharge_config'); $this->load->library('Recharge_config');
$rechargeInfo = $this->recharge_config->rechargeRule($userInfo, $userInfo['company_id'], $count, 2); $rechargeInfo = $this->recharge_config->rechargeRule($userInfo, $this->session->userdata("companyId"), $count, 2);
$rechargeInfo = json_decode($rechargeInfo, 1); $rechargeInfo = json_decode($rechargeInfo, 1);
if($rechargeInfo['status'] == 1){ if($rechargeInfo['status'] == 1){
$giveFee = $rechargeInfo['data']['gift_fee']; $giveFee = $rechargeInfo['data']['gift_fee'];