Compare commits
2 Commits
b83c53fe04
...
d693bb0dd3
| Author | SHA1 | Date | |
|---|---|---|---|
| d693bb0dd3 | |||
| b6e3d109fc |
@@ -229,9 +229,11 @@ public class PayServiceImpl implements PayService {
|
|||||||
if (firstTwoDigits >= 10 && firstTwoDigits <= 15) {
|
if (firstTwoDigits >= 10 && firstTwoDigits <= 15) {
|
||||||
//微信支付
|
//微信支付
|
||||||
bizData.setSubAppid(shopMerchant.getWechatAppId());
|
bizData.setSubAppid(shopMerchant.getWechatAppId());
|
||||||
|
bizData.setPayType(SystemConstants.PayType.WECHAT);
|
||||||
} else if (firstTwoDigits >= 25 && firstTwoDigits <= 30) {
|
} else if (firstTwoDigits >= 25 && firstTwoDigits <= 30) {
|
||||||
//支付宝支付
|
//支付宝支付
|
||||||
bizData.setSubAppid(shopMerchant.getAlipayAppId());
|
bizData.setSubAppid(shopMerchant.getAlipayAppId());
|
||||||
|
bizData.setPayType(SystemConstants.PayType.ALIPAY);
|
||||||
} else {
|
} else {
|
||||||
throw new CzgException("扫描码非法或暂不支持");
|
throw new CzgException("扫描码非法或暂不支持");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user