|
@@ -199,7 +199,26 @@ public class ShouhuoPay implements IMINAction{
|
|
|
|
|
|
notify_url = notify_url + "/ShouhuoPay/personalPayCallBack";
|
|
|
String turntablePage = Service.lookup(IPublicService.class).getSysParValue(user.getChannel() + "_SHOUHUO_TURNTABLE_PAGE");
|
|
|
- turntablePage = turntablePage.concat("orderId="+orderId).concat("&equId="+ordInf.getEquipmentId()).concat("#/pages/turntable/turntable");
|
|
|
+ String turnPage ="";
|
|
|
+ String gameRule = ordInf.getGameRule(); //游戏规则
|
|
|
+ String proType = ordInf.getProType(); //交易类型
|
|
|
+ if("00".equals(proType)){ //商品交易类别:00正常商品,01抽奖商品,02:充值
|
|
|
+ turnPage = Service.lookup(IPublicService.class).getSysParValue(user.getChannel() + "__SHOUHUO_DIRECTBUY_PAGE");
|
|
|
+ }else if("01".equals(proType)){
|
|
|
+ if("0".equals(gameRule)){ //幸运购
|
|
|
+ turnPage = Service.lookup(IPublicService.class).getSysParValue(user.getChannel() + "__SHOUHUO_GAMEBUYING_PAGE");
|
|
|
+ }else{
|
|
|
+ turnPage = Service.lookup(IPublicService.class).getSysParValue(user.getChannel() + "__SHOUHUO_GAMEBUYING_PAGE");
|
|
|
+ }if("1".equals(gameRule)){
|
|
|
+ throw new MINBusinessException("游戏类型异常");
|
|
|
+ }
|
|
|
+
|
|
|
+ }else{
|
|
|
+ throw new MINBusinessException("交易类型异常");
|
|
|
+ }
|
|
|
+
|
|
|
+ turntablePage = turntablePage.concat("orderId="+orderId).concat("&equId="+ordInf.getEquipmentId()).concat(turnPage);
|
|
|
+
|
|
|
Huilianpay prePay = new Huilianpay();
|
|
|
IHuilianPayService huilianPayService = new HuilianPayServiceImpl();
|
|
|
if("91".equals(payType)){
|