diff --git a/backstage/application/backstage/controllers/Recharge.php b/backstage/application/backstage/controllers/Recharge.php index 16e2f70..8cd1679 100644 --- a/backstage/application/backstage/controllers/Recharge.php +++ b/backstage/application/backstage/controllers/Recharge.php @@ -1050,7 +1050,7 @@ class Recharge extends CI_Controller // 获取充值在赠送金额 $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); $data['giveFee'] = 0; if($rechargeInfo['status'] == 1){ @@ -1095,7 +1095,7 @@ class Recharge extends CI_Controller //send_sms_p($smsList); // 获取充值在赠送金额 $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); if($rechargeInfo['status'] == 1){ $giveFee = $rechargeInfo['data']['gift_fee'];