|
@@ -169,7 +169,7 @@ class Yspay extends Core
|
|
|
foreach ($other as $k => $v) {
|
|
|
$subOrders = array();
|
|
|
if (isset($v['amount']) && $v['amount']) {
|
|
|
- $subOrders['totalAmount'] = $v['amount'];
|
|
|
+ $subOrders['totalAmount'] = round($v['amount'] * 100, 2);
|
|
|
$request['platformAmount'] = round($request['platformAmount'] - $subOrders['totalAmount'], 2);
|
|
|
} elseif (isset($v['per']) && $v['per']) {
|
|
|
# 此处为兼容历史业务代码
|