From 7c626708250f5e4cd0f970893cd54b924368d641 Mon Sep 17 00:00:00 2001 From: zxf <604804177@qq.com> Date: Tue, 18 Jul 2023 17:47:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=20=20=E6=95=B0=E6=8D=AE=E5=BA=93=E5=86=85=E7=BD=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wxapi/wxBusinessControllApi.java | 2 +- .../src/main/resources/application-druid.yml | 2 +- zxf-admin/src/main/resources/application.yml | 6 ++- zxf-ui/src/views/wheel/type/index.vue | 50 +++---------------- zxf-ui/vue.config.js | 4 +- 5 files changed, 15 insertions(+), 49 deletions(-) diff --git a/zxf-admin/src/main/java/com/zxf/web/controller/wxapi/wxBusinessControllApi.java b/zxf-admin/src/main/java/com/zxf/web/controller/wxapi/wxBusinessControllApi.java index 4b0a133..fef12e5 100644 --- a/zxf-admin/src/main/java/com/zxf/web/controller/wxapi/wxBusinessControllApi.java +++ b/zxf-admin/src/main/java/com/zxf/web/controller/wxapi/wxBusinessControllApi.java @@ -32,7 +32,7 @@ public class wxBusinessControllApi { @GetMapping("/getimage") public AjaxResult getimage(@RequestParam Map param) { log.info("获取首页轮播图图片地址 到时候返回静态服务器绝对路径"); - List> images=jdbcTemplate.queryForList("select CONCAT('http://127.0.0.1:8080',img_url ) img_url from zxfmn_wheel"); + List> images=jdbcTemplate.queryForList("select CONCAT('http://101.43.135.234:8080/api',img_url ) img_url from zxfmn_wheel"); return AjaxResult.success(images); } diff --git a/zxf-admin/src/main/resources/application-druid.yml b/zxf-admin/src/main/resources/application-druid.yml index 07f0f3b..6e6ba26 100644 --- a/zxf-admin/src/main/resources/application-druid.yml +++ b/zxf-admin/src/main/resources/application-druid.yml @@ -6,7 +6,7 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://101.43.135.234:3306/zxfuser?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true + url: jdbc:mysql://10.0.24.12:3306/zxfuser?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true username: root password: root123456 # 从库数据源 diff --git a/zxf-admin/src/main/resources/application.yml b/zxf-admin/src/main/resources/application.yml index 32a9325..a0b9e47 100644 --- a/zxf-admin/src/main/resources/application.yml +++ b/zxf-admin/src/main/resources/application.yml @@ -9,7 +9,9 @@ zxf: # 实例演示开关 demoEnabled: true # 文件路径 示例( Windows配置D:/zxf/uploadPath,Linux配置 /home/zxf/uploadPath) - profile: D:/zxf/uploadPath + #rofile: D:/zxf/uploadPath + profile: /pm/file + # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数组计算 char 字符验证 @@ -18,7 +20,7 @@ zxf: # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 - port: 8080 + port: 8081 servlet: # 应用的访问路径 context-path: / diff --git a/zxf-ui/src/views/wheel/type/index.vue b/zxf-ui/src/views/wheel/type/index.vue index 3500df3..6f2d246 100644 --- a/zxf-ui/src/views/wheel/type/index.vue +++ b/zxf-ui/src/views/wheel/type/index.vue @@ -1,48 +1,16 @@