From 98c62ea546d04a6e074f27f963a2e96c8c206e30 Mon Sep 17 00:00:00 2001 From: vguanyiwgd Date: Wed, 5 Jun 2024 16:16:37 +0800 Subject: [PATCH] udpate Change-Id: Ifb8c677bfb9f87e40e54334a11422d024d77675d --- backstage/application/backstage/controllers/Recharge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'];