Authored by zhangxiaoru

orderSure

... ... @@ -574,13 +574,14 @@ class CartModel
// 订单商品数
$result['num'] = $payReturn['shopping_cart_data']['selected_goods_count'];
// 商品金额
// $result['goodsPrice'] = $payReturn['shopping_cart_data']['str_order_amount'];
$result['goodsPrice'] = $payReturn['shopping_cart_data']['str_order_amount'];
//有货币
if($payReturn['shopping_cart_data']['gain_yoho_coin'] > 0) {
if((int)$payReturn['shopping_cart_data']['gain_yoho_coin'] > 0) {
$result['yohoCoinNum'] = $payReturn['shopping_cart_data']['gain_yoho_coin'];
$result['returnYohoCoin'] = true;
}
}
}
// 发票有关数据
... ...