http 自助充值2
This commit is contained in:
@@ -111,7 +111,7 @@ class Order extends Controller
|
||||
$recharge_data['user_id'] = $this->userinfo['UserId'];
|
||||
|
||||
//判断充值的金额是否在赠送列表里
|
||||
if (array_key_exists($recharge_data['pay_money'],$this->ju_zhengsong)){
|
||||
if ((!is_float($recharge_data['pay_money'])) && array_key_exists($recharge_data['pay_money'],$this->ju_zhengsong)){
|
||||
$recharge_data['ju_money'] = $this->ju_zhengsong[$data['money']];
|
||||
} else {
|
||||
$recharge_data['ju_money'] = $data['money'];
|
||||
|
||||
Reference in New Issue
Block a user