From 9af393802925eb69226a202ffdaef5da42a05212 Mon Sep 17 00:00:00 2001 From: ZiJIe <17738440858@163.com> Date: Tue, 24 Jun 2025 15:23:59 +0800 Subject: [PATCH] 222 --- ruoyi-admin/src/main/resources/application.yml | 4 +++- ruoyi-ui/.env.production | 2 +- ruoyi-ui/src/router/index.js | 16 ---------------- ruoyi-ui/vue.config.js | 5 +++-- 4 files changed, 7 insertions(+), 20 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index c0d88f99..5b0eec1d 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -68,13 +68,15 @@ spring: # redis 配置 redis: # 地址 - host: localhost + host: 43.136.31.205 # 端口,默认为6379 port: 6379 # 数据库索引 database: 0 # 密码 + # password: password: ygyx8888Redis + # 连接超时时间 timeout: 10s lettuce: diff --git a/ruoyi-ui/.env.production b/ruoyi-ui/.env.production index cb064ec8..7cddf50b 100644 --- a/ruoyi-ui/.env.production +++ b/ruoyi-ui/.env.production @@ -5,4 +5,4 @@ VUE_APP_TITLE = 若依管理系统 ENV = 'production' # 若依管理系统/生产环境 -VUE_APP_BASE_API = '/prod-api' +VUE_APP_BASE_API = 'https://erp.tashowz.com' diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 12f1f98e..bbfd2374 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -87,22 +87,6 @@ export const constantRoutes = [ meta: { title: '个人中心', icon: 'user' } } ] - }, - { - path: '/banma', - component: Layout, - hidden: false, - redirect: 'noredirect', - name: 'Banma', - meta: { title: '斑马订单', icon: 'shopping' }, - children: [ - { - path: 'orders', - component: () => import('@/views/banma/orders/index'), - name: 'BanmaOrders', - meta: { title: '订单管理', icon: 'list' } - } - ] } ] diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index ae755d9d..efb38fef 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -9,8 +9,9 @@ const CompressionPlugin = require('compression-webpack-plugin') const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题 -const baseUrl = 'http://192.168.1.89:8080' // 后端接口 - +const baseUrl = 'https://erp.tashowz.com' // 后端接口 +//const baseUrl = 'http://43.136.31.205:8080' +// const baseUrl = 'http://192.168.1.89:8080' const port = process.env.port || process.env.npm_config_port || 80 // 端口 // vue.config.js 配置说明