Commit e5f13bf3 by Ron

chore: pre version

parent e1749b07
......@@ -23,3 +23,4 @@
"cz-customizable": "^6.9.1"
}
}
......@@ -297,7 +297,13 @@ export class Payment {
switch (payType) {
case PayType.WECHAT_BALANCE:
case PayType.WECHAT:
return Utils.isWechat() ? PayChannel.WX_JSAPI : PayChannel.WX_MWEB
/**
* 当前本支付工具,主要被用于app、m站支付,不涉及到权限验证,一般都传WX_MWEB;
* 等后期要有权限验证的需求场景时,再放开
* return Utils.isWechat() ? PayChannel.WX_JSAPI : PayChannel.WX_MWEB
*
*/
return PayChannel.WX_MWEB
case PayType.ALIPAY:
case PayType.ALIPAY_BALANCE:
case PayType.HUABEI:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment