This commit is contained in:
2025-10-10 02:21:03 +08:00
parent 35ae723926
commit 939660297d

View File

@@ -526,7 +526,7 @@ public class InstructionServiceImpl implements IInstructionService {
if (!(existed.contains("李波") || existed.contains("吴胜硕") || existed.contains("小硕硕"))) {
String warn = "[炸弹] [炸弹] [炸弹] 此地址已经存在,请勿重复生成订单 [炸弹] [炸弹] [炸弹] ";
StringBuilder warnOut = new StringBuilder();
for (int i = 0; i < 5; i++) warnOut.append(warn).append("\n");
warnOut.append(warn).append("\n");
return warnOut.toString().trim();
}
}
@@ -563,7 +563,7 @@ public class InstructionServiceImpl implements IInstructionService {
int count = s != null ? Integer.parseInt(s) : 0;
startCount = count + 1;
int endCount = count + total;
stringRedisTemplate.opsForValue().set(redisKey, String.valueOf(endCount), 1, TimeUnit.DAYS);
stringRedisTemplate.opsForValue().set(redisKey, String.valueOf(endCount), 30, TimeUnit.DAYS);
} catch (Exception ignore) {
}
}