|
@@ -39,7 +39,7 @@ class Wechat extends Base
|
|
|
|
|
|
//$order['amount']['total'] = intval(bcmul((string)$order['total_amount'], '100'));
|
|
//$order['amount']['total'] = intval(bcmul((string)$order['total_amount'], '100'));
|
|
// 按分 为单位
|
|
// 按分 为单位
|
|
- $order['amount']['total'] = 100;
|
|
|
|
|
|
+ $order['amount']['total'] = 1;
|
|
// 测试
|
|
// 测试
|
|
if ($this->platform == 'H5') {
|
|
if ($this->platform == 'H5') {
|
|
$order['_type'] = 'app'; // 使用 配置中的 app_id 字段
|
|
$order['_type'] = 'app'; // 使用 配置中的 app_id 字段
|