"设备规格修改"
This commit is contained in:
@@ -66,6 +66,9 @@ import cn.pluss.platform.wechat.*;
|
||||
import cn.pluss.platform.wx.WxAccessTokenRequest;
|
||||
import cn.pluss.platform.wx.WxCommonService;
|
||||
import cn.pluss.platform.wx.WxOauth2AccessTokenResponse;
|
||||
import cn.pluss.platform.ys.YSConstants;
|
||||
import cn.pluss.platform.ys.YsEnum;
|
||||
import cn.pluss.platform.ys.YsService;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.alipay.api.AlipayApiException;
|
||||
@@ -168,6 +171,9 @@ public class MerchantController {
|
||||
@Setter(onMethod_ = {@Autowired, @Qualifier("ysPayOldService")})
|
||||
private PayService ysPayOldService;
|
||||
|
||||
@Setter(onMethod_ = {@Autowired, @Qualifier("lkLPayService")})
|
||||
private PayService lkLPayService;
|
||||
|
||||
@Setter(onMethod_ = {@Autowired})
|
||||
private RyxPayService ryxPayService;
|
||||
|
||||
@@ -565,6 +571,8 @@ public class MerchantController {
|
||||
unionInfo = ryxPayService.getUnionInfo(userAuthCode, payMentApp, channel.getMerchantId());
|
||||
} else if (channel.getChannel() == 4) {
|
||||
unionInfo = ysPayOldService.getUnionInfo(userAuthCode, payMentApp, null);
|
||||
} else if (channel.getChannel() == 5) {
|
||||
unionInfo = lkLPayService.getUnionInfo(userAuthCode, payMentApp, null);
|
||||
} else {
|
||||
view.addObject("error", "未知通道类型");
|
||||
return view;
|
||||
@@ -1698,6 +1706,8 @@ public class MerchantController {
|
||||
unionInfo = ryxPayService.getUnionInfo(userAuthCode, payMentApp, channel.getMerchantId());
|
||||
} else if (channel.getChannel() == 4) {
|
||||
unionInfo = ysPayOldService.getUnionInfo(userAuthCode, payMentApp, null);
|
||||
} else if (channel.getChannel() == 5) {
|
||||
unionInfo = lkLPayService.getUnionInfo(userAuthCode, payMentApp, null);
|
||||
} else {
|
||||
view.addObject("error", "未知通道类型");
|
||||
return view;
|
||||
@@ -1929,6 +1939,8 @@ public class MerchantController {
|
||||
return modelAndView;
|
||||
} else if (channel.getChannel() == 4) {
|
||||
unionInfo = ysPayOldService.getUnionInfo(userAuthCode, payMentApp, null);
|
||||
} else if (channel.getChannel() == 5) {
|
||||
unionInfo = lkLPayService.getUnionInfo(userAuthCode, payMentApp, null);
|
||||
} else {
|
||||
modelAndView.addObject("error", "未知通道类型");
|
||||
modelAndView.setViewName("/merchant/errorInfo2");
|
||||
|
||||
Reference in New Issue
Block a user