|
|
@@ -135,8 +135,8 @@ class Logistics
|
|
|
'product_name' => $order['GOODS_TITLE'], // 产品名称
|
|
|
'tracking_number' => Date::today('Ymd') . $this->_random(10, 1),
|
|
|
'quantity' => $order['BUY_NUMS'], // 产品数量
|
|
|
- 'total_price' => number_format($order['PAY_AMOUNT'] * 0.3, 2, '.', ''), // 订单总金额,Decimal 方便通关,减少金额
|
|
|
- 'currency_code' => 'CNY', // 产品的货币代码. 如USD(美元),MYR(马来西亚林吉特),SGD(新加坡元),CNY(人民币)
|
|
|
+ 'total_price' => number_format(100, 2, '.', ''), // 订单总金额,Decimal 方便通关,固定100马币
|
|
|
+ 'currency_code' => 'MYR', // 产品的货币代码. 如USD(美元),MYR(马来西亚林吉特),SGD(新加坡元),CNY(人民币)
|
|
|
],
|
|
|
],
|
|
|
];
|