From e370b51c394ad10d7f3ad2df7525abf3ec699bea Mon Sep 17 00:00:00 2001 From: zc Date: Sat, 9 May 2026 09:25:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E6=B5=B7=E4=BC=98=E5=8C=96=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../top/wms/admin/controller/common/CommonController.java | 3 --- wms-webapi/src/main/resources/config/application-dev.yml | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/wms-webapi/src/main/java/top/wms/admin/controller/common/CommonController.java b/wms-webapi/src/main/java/top/wms/admin/controller/common/CommonController.java index 94dd76b..22a1447 100644 --- a/wms-webapi/src/main/java/top/wms/admin/controller/common/CommonController.java +++ b/wms-webapi/src/main/java/top/wms/admin/controller/common/CommonController.java @@ -3,7 +3,6 @@ package top.wms.admin.controller.common; import cn.dev33.satoken.annotation.SaIgnore; import cn.hutool.core.lang.tree.Tree; import cn.hutool.core.util.StrUtil; -import com.alicp.jetcache.anno.Cached; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.enums.ParameterIn; @@ -14,7 +13,6 @@ import org.dromara.x.file.storage.core.FileInfo; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; -import top.wms.admin.common.constant.CacheConstants; import top.wms.admin.common.util.PictureUtils; import top.wms.admin.system.enums.OptionCategoryEnum; import top.wms.admin.system.model.query.*; @@ -145,7 +143,6 @@ public class CommonController { @SaIgnore @Operation(summary = "查询系统配置参数", description = "查询系统配置参数") @GetMapping("/dict/option/site") - @Cached(key = "'SITE'", name = CacheConstants.OPTION_KEY_PREFIX) public List> listSiteOptionDict() { OptionQuery optionQuery = new OptionQuery(); optionQuery.setCategory(OptionCategoryEnum.SITE.name()); diff --git a/wms-webapi/src/main/resources/config/application-dev.yml b/wms-webapi/src/main/resources/config/application-dev.yml index 0b9f70f..74d7070 100644 --- a/wms-webapi/src/main/resources/config/application-dev.yml +++ b/wms-webapi/src/main/resources/config/application-dev.yml @@ -159,7 +159,9 @@ continew-starter.web.cors: allowed-origins: - ${project.url} - http://127.0.0.1:80 - - http://:80 + - http://192.168.40.56:80 + - http://10.126.126.3:80 + - http://localhost:5173 # 配置允许跨域的请求方式 allowed-methods: '*' # 配置允许跨域的请求头