update 重构 修改框架内不正常命名与规范是和否的状态

This commit is contained in:
疯狂的狮子Li
2026-03-19 14:48:15 +08:00
parent b1e18c1b4b
commit 6c2958d54c
43 changed files with 610 additions and 607 deletions

View File

@@ -11,6 +11,7 @@ import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.dromara.common.core.constant.HttpStatus;
import org.dromara.common.core.constant.GlobalConstants;
import org.dromara.common.core.domain.R;
import org.dromara.common.core.exception.ServiceException;
@@ -79,7 +80,7 @@ public class RepeatSubmitAspect {
if (jsonResult instanceof R<?> r) {
try {
// 成功则不删除redis数据 保证在有效时间内无法重复提交
if (r.getCode() == R.SUCCESS) {
if (r.getCode() == HttpStatus.SUCCESS) {
return;
}
RedisUtils.deleteObject(KEY_CACHE.get());