xhxu 5 лет назад
Родитель
Сommit
71c319e88c
1 измененных файлов: 4 добавлений и 1 удалений
  1. +4
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java

+ 4
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java Просмотреть файл

@@ -444,6 +444,7 @@ public class WxGameServiceImpl implements WxGameService {
Long orderId = 0L; Long orderId = 0L;
Integer addCredit = 0; Integer addCredit = 0;
if(data != null){ if(data != null){
logger.info("userId:"+userId+",中奖了,"+data.toString());
if(data instanceof WxCouponChannelVo){ if(data instanceof WxCouponChannelVo){
WxCouponChannelVo vo = (WxCouponChannelVo) data; WxCouponChannelVo vo = (WxCouponChannelVo) data;
OrderSaveDto orderSaveDto = new OrderSaveDto(); OrderSaveDto orderSaveDto = new OrderSaveDto();
@@ -477,12 +478,14 @@ public class WxGameServiceImpl implements WxGameService {
addCredit = credit; addCredit = credit;
orderId = Constant.creditPlayOrderIdTab; orderId = Constant.creditPlayOrderIdTab;
}else{ }else{
logger.info("userId:"+userId+",中奖了加积分为零");
resultData.data = null; resultData.data = null;
} }
// } // }


} }

}else{
logger.info("userId:"+userId+",没中奖,"+data.toString());
} }
final IdWorker idWorker = IdWorker.get(); final IdWorker idWorker = IdWorker.get();
WxGameActionLog wxGameActionLog = new WxGameActionLog(); WxGameActionLog wxGameActionLog = new WxGameActionLog();


Загрузка…
Отмена
Сохранить