扫码支付方式
This commit is contained in:
@@ -179,6 +179,8 @@ public class OrderPayController {
|
|||||||
public CzgResult<Map<String, Object>> js2PayOrder(HttpServletRequest request, @RequestBody OrderPayParamDTO payParam) {
|
public CzgResult<Map<String, Object>> js2PayOrder(HttpServletRequest request, @RequestBody OrderPayParamDTO payParam) {
|
||||||
if ("alipay".equals(payParam.getPayType())) {
|
if ("alipay".equals(payParam.getPayType())) {
|
||||||
payParam.setPayType(PayCst.Type.ALIPAY);
|
payParam.setPayType(PayCst.Type.ALIPAY);
|
||||||
|
} else if ("aliPay".equals(payParam.getPayType())) {
|
||||||
|
payParam.setPayType(PayCst.Type.ALIPAY);
|
||||||
} else if ("wechatPay".equals(payParam.getPayType())) {
|
} else if ("wechatPay".equals(payParam.getPayType())) {
|
||||||
payParam.setPayType(PayCst.Type.WECHAT);
|
payParam.setPayType(PayCst.Type.WECHAT);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user