|
@@ -53,8 +53,9 @@ class member_buyControl extends mbMemberControl
|
|
|
}
|
|
|
else {
|
|
|
$result = $buy_helper->format();
|
|
|
- $total_amonut = $result['payinfo']['pay_cash_pred'];
|
|
|
- return self::outsuccess(['cash_amount' => $total_amonut]);
|
|
|
+ $cash_amount = $result['payinfo']['pay_car_pred'];
|
|
|
+ $total_amonut = $result['payinfo']['pay_car_nopred'];
|
|
|
+ return self::outsuccess(['cash_amount' => $cash_amount,'goods_amount' => $total_amonut]);
|
|
|
}
|
|
|
}
|
|
|
|