| | |
| | | return; |
| | | } |
| | | String sysAddress = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | RunVipDataDictionaryEnum.CHARGE_SYS_ADDRESS.getType(), RunVipDataDictionaryEnum.CHARGE_SYS_ADDRESS.getCode() |
| | | RunVipDataDictionaryEnum.CHARGE_SYS_ADDRESS_BSC.getType(), RunVipDataDictionaryEnum.CHARGE_SYS_ADDRESS_BSC.getCode() |
| | | ).getValue(); |
| | | String type = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | RunVipDataDictionaryEnum.CHARGE_TYPE_BSC.getType(), RunVipDataDictionaryEnum.CHARGE_TYPE_BSC.getCode() |
| | |
| | | MallCharge mallCharge = mallCharges.get(0); |
| | | mallCharge.setState(YesOrNoEnum.YES.getValue()); |
| | | mallChargeMapper.updateById(mallCharge); |
| | | agentProducer.sendBuyVipSuccessMsg(mallCharge.getId()); |
| | | |
| | | if(StrUtil.isNotEmpty(mallCharge.getVipCode())){ |
| | | agentProducer.sendBuyVipSuccessMsg(mallCharge.getId()); |
| | | }else{ |
| | | agentProducer.sendChargeSuccessMsg(mallCharge.getId()); |
| | | } |
| | | |
| | | log.info("扫描到用户ID:{},地址:{},充值金额:{}",mallCharge.getMemberId(),fromAddress,amount); |
| | | |