Skip to content

Commit 5e2bda8

Browse files
authored
[更新]完善支付参数说明
1 parent 4431e3a commit 5e2bda8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Wechat/WechatPay.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ public function replyXml(array $data, $isReturn = false) {
200200
* @param string $notify_url 支付成功回调地址
201201
* @param string $trade_type 支付类型JSAPI|NATIVE|APP
202202
* @param string $goods_tag 商品标记,代金券或立减优惠功能的参数
203+
* @param string $fee_type 交易币种
203204
* @return bool|string
204205
*/
205206
public function getPrepayId($openid, $body, $out_trade_no, $total_fee, $notify_url, $trade_type = "JSAPI", $goods_tag = null, $fee_type = 'CNY') {
@@ -229,6 +230,7 @@ public function getPrepayId($openid, $body, $out_trade_no, $total_fee, $notify_u
229230
* @param int $total_fee 订单总价
230231
* @param string $notify_url 支付成功回调地址
231232
* @param string $goods_tag 商品标记,代金券或立减优惠功能的参数
233+
* @param string $fee_type 交易币种
232234
* @return bool|string
233235
*/
234236
public function getQrcPrepayId($openid, $body, $out_trade_no, $total_fee, $notify_url, $goods_tag = null, $fee_type = 'CNY') {

0 commit comments

Comments
 (0)