From 20edec0082d52bbbc6b640cc636153fa4dbd61b6 Mon Sep 17 00:00:00 2001 From: Devil Date: Sun, 29 Aug 2021 12:17:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=81=94=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E9=87=91=E9=A2=9D=E4=BC=98=E5=8C=96=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E6=94=AF=E4=BB=98=E5=B9=B3=E5=8F=B0=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E9=87=91=E9=A2=9D=E5=8F=98=E5=B0=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/payment/ChinaUmsWeixin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/payment/ChinaUmsWeixin.php b/extend/payment/ChinaUmsWeixin.php index d89657785..907f2aa24 100644 --- a/extend/payment/ChinaUmsWeixin.php +++ b/extend/payment/ChinaUmsWeixin.php @@ -50,7 +50,7 @@ class ChinaUmsWeixin // 基础信息 $base = [ 'name' => '银联商务-微信', // 插件名称 - 'version' => '1.0.0', // 插件版本 + 'version' => '1.0.1', // 插件版本 'apply_version' => '不限', // 适用系统版本描述 'apply_terminal'=> ['weixin'], // 适用终端 默认全部 ['pc', 'h5', 'app', 'alipay', 'weixin', 'baidu'] 'desc' => '适用微信小程序,即时到帐支付方式,买家的交易资金直接打入卖家账户,快速回笼交易资金。 立即申请', // 插件描述(支持html) @@ -244,7 +244,7 @@ class ChinaUmsWeixin $data['buyer_user'] = isset($data['subBuyerId']) ? $data['subBuyerId'] : ''; // 支付平台 - 用户 $data['out_trade_no'] = str_replace($this->config['msg_id'], '', $data['merOrderId']); // 本系统发起支付的 - 订单号 $data['subject'] = isset($data['attachedData']) ? $data['attachedData'] : ''; // 本系统发起支付的 - 商品名称 - $data['pay_price'] = $data['buyerPayAmount']/100; // 本系统发起支付的 - 总价 + $data['pay_price'] = $data['totalAmount']/100; // 本系统发起支付的 - 总价 return $data; }