| | |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | import cn.hutool.core.collection.CollectionUtil; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<RechargeBlockchain> rechargeBlockchainList = rechargeBlockchainService.getByAddressUndone( channel_address); |
| | | if(CollectionUtil.isNotEmpty(rechargeBlockchainList)){ |
| | | throw new BusinessException("Please wait until the previous recharge is completed!"); |
| | | } |
| | | //存储充值申请订单记录 |
| | | RechargeBlockchain recharge = new RechargeBlockchain(); |
| | | recharge.setAddress(from); |