取消提现限制

This commit is contained in:
zhujunshuai
2023-03-21 13:47:32 +08:00
parent 8ef03ab28f
commit 1aa2f8c5f0
2 changed files with 10 additions and 3 deletions

View File

@@ -221,10 +221,11 @@ public class CashServiceImpl extends ServiceImpl<CashMapper, Cash> implements Ca
.last("limit 1");
Cash existData = getOne(qWrapper);
if (existData != null && DateUtil.isSameDay(new Date(), existData.getCreateDt())) {
//TODO 注释提现限制,后面要取消
/* if (existData != null && DateUtil.isSameDay(new Date(), existData.getCreateDt())) {
throw new MsgException("一天只能提现一次");
}
*/
LambdaQueryWrapper<CashAccount> qWrapper2 = Wrappers.lambdaQuery();
qWrapper2.eq(CashAccount::getUserId, cash.getUserId())
.last("limit 1");

View File

@@ -196,10 +196,16 @@ public class MerchantController {
@Resource
private JftReceiptOrderMapper jftReceiptOrderMapper;
@GetMapping("/auth/aKfAirN1hO.txt")
/*@GetMapping("/auth/aKfAirN1hO.txt")
@ResponseBody
public String aKfAirN1hO() {
return "3cdbacb2d4ceefa36ef1c43d0c562fb9";
}*/
@GetMapping("/auth/ODzUwrTrcr.txt")
@ResponseBody
public String aKfAirN1hO() {
return "68eb6c8f59bf143e3165aa5198c6905f";
}
@GetMapping("/account/auth")