From d262ec6b724579ffa4d373a1309fb08a073f05a2 Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Mon, 23 May 2022 09:39:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/web/controller/yada/ThematicMapController.java | 2 +- ruoyi-admin/src/main/resources/application.yml | 3 ++- ruoyi-ui/.env.development | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java index be6286759..3b01a3023 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java @@ -19,7 +19,7 @@ import java.util.List; * @Date: 2022/5/11 10:55 */ @RestController -@RequestMapping(value = "/api/thematic-map") +@RequestMapping(value = "/thematic-map") public class ThematicMapController { @Resource diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 1111fce20..a65a211fe 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -18,7 +18,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 - port: 8080 + port: 9900 servlet: # 应用的访问路径 context-path: / @@ -116,6 +116,7 @@ swagger: # 请求前缀 pathMapping: /dev-api + # 防止XSS攻击 xss: # 过滤开关 diff --git a/ruoyi-ui/.env.development b/ruoyi-ui/.env.development index 18b2a3ed4..6f3363e21 100644 --- a/ruoyi-ui/.env.development +++ b/ruoyi-ui/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 若依管理系统 ENV = 'development' # 若依管理系统/开发环境 -VUE_APP_BASE_API = '/dev-api' +VUE_APP_BASE_API = 'http://192.168.2.105:9900' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true