|
@@ -109,12 +109,6 @@ public class CmsYhShopCommonServiceImpl implements CmsYhShopCommonService {
|
|
|
yhShopApplyRecord.setVerifyStatus(verifyStatus);
|
|
yhShopApplyRecord.setVerifyStatus(verifyStatus);
|
|
|
yhShopApplyRecordMapper.updateById(yhShopApplyRecord);
|
|
yhShopApplyRecordMapper.updateById(yhShopApplyRecord);
|
|
|
yhShopMapper.updateById(yhShop);
|
|
yhShopMapper.updateById(yhShop);
|
|
|
-
|
|
|
|
|
- if (yhShopApplyRecord.getVerifyStatus() == YhShopApplyRecord.Status.fail) {
|
|
|
|
|
- String type = "shop";
|
|
|
|
|
- String key = String.format(RedisService.key.APPLY_MONEY_DAY_LIMIT_KEY.getName(), DateTime.now().toDateStr(), type, yhShopApplyRecord.getUserId());
|
|
|
|
|
- redisService.del(key);
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -202,6 +196,12 @@ public class CmsYhShopCommonServiceImpl implements CmsYhShopCommonService {
|
|
|
distributeMoneyApply.setImg(distributeApplyMoneyReq.getImg());
|
|
distributeMoneyApply.setImg(distributeApplyMoneyReq.getImg());
|
|
|
}
|
|
}
|
|
|
yhShopDistributeMoneyApplyMapper.updateById(distributeMoneyApply);
|
|
yhShopDistributeMoneyApplyMapper.updateById(distributeMoneyApply);
|
|
|
|
|
+
|
|
|
|
|
+ if (distributeMoneyApply.getVerifyStatus() == YhShopDistributeMoneyApply.Status.fail) {
|
|
|
|
|
+ String type = "shop";
|
|
|
|
|
+ String key = String.format(RedisService.key.APPLY_MONEY_DAY_LIMIT_KEY.getName(), DateTime.now().toDateStr(), type, distributeMoneyApply.getUserId());
|
|
|
|
|
+ redisService.del(key);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|