This commit is contained in:
Van0313
2025-07-13 13:03:52 +08:00
parent af08e1b5fb
commit c68a01e47b

View File

@@ -1783,12 +1783,14 @@ public class JDUtil {
String addressRedisValue = redisTemplate.opsForValue().get(addressKey);
if (addressRedisValue != null) {
if (addressRedisValue.contains("李波") || addressRedisValue.contains("吴胜硕") || addressRedisValue.contains("小硕硕")) {
} else {
for (int i = 0; i < 5; i++) {
wxUtil.sendTextMessage(fromWxid, "[炸弹] [炸弹] [炸弹] 此地址已经存在,请勿重复生成订单 [炸弹] [炸弹] [炸弹] ", 1, fromWxid, false);
}
return;
}
for (int i = 0; i < 5; i++) {
wxUtil.sendTextMessage(fromWxid, "[炸弹] [炸弹] [炸弹] 此地址已经存在,请勿重复生成订单 [炸弹] [炸弹] [炸弹] ", 1, fromWxid, false);
}
return;
}
redisTemplate.opsForValue().set(addressKey, "1", 1, TimeUnit.DAYS);