xiaoyong931011
2021-05-26 8bed64f3bbcff69f99fbb8d423f7e7183628c665
20210525  申诉
1 files modified
1 ■■■■ changed files
src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcOrderServiceImpl.java 1 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcOrderServiceImpl.java
@@ -155,6 +155,7 @@
        OtcSetting setting = otcSettingDao.selectById(1L);
        String times = redisUtils.getString(AppContants.OTC_ORDER_CANCEL_TIMES + member.getId());
        times = times == null ? "0" :times;
        if (setting.getCancellNum() <= Integer.parseInt(times)) {
            throw new GlobalException("订单取消次数过多, 限制交易24小时");
        }