调整接口地址

This commit is contained in:
luofei 2024-04-23 16:54:48 +08:00
parent 43c4f22a45
commit 4632b29a41
5 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ ENV = 'development'
# http://mer.crmeb.net/admin # http://mer.crmeb.net/admin
# base api # base api
# VUE_APP_BASE_API = 'http://192.168.31.106:8324' # VUE_APP_BASE_API = 'http://192.168.31.106:8324'
VUE_APP_BASE_API = 'https://crmeb-test.shop.lihaink.cn' VUE_APP_BASE_API = ''
# socket 连接地址 # socket 连接地址
# VUE_APP_WS_URL = 'ws://0.0.0.0:8324' # VUE_APP_WS_URL = 'ws://0.0.0.0:8324'

View File

@ -4,5 +4,5 @@ NODE_ENV = production
ENV = 'staging' ENV = 'staging'
# base api # base api
VUE_APP_BASE_API = '/stage-api' VUE_APP_BASE_API = ''

View File

@ -16,7 +16,7 @@ const SettingMer = {
// 服务器地址 // 服务器地址
httpUrl: VUE_APP_API_URL, httpUrl: VUE_APP_API_URL,
// 接口请求地址 // 接口请求地址
https: VUE_APP_API_URL + '/sys', https: VUE_APP_API_URL + '/sysApi',
// socket连接 // socket连接
wsSocketUrl: VUE_APP_WS_URL, wsSocketUrl: VUE_APP_WS_URL,
// 路由标题 // 路由标题

View File

@ -9,10 +9,10 @@
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
module.exports = { module.exports = {
// 路由前缀 // 路由前缀
roterPre: '/admin', roterPre: '/',
// 路由标题 // 路由标题
title: '加载中...', title: '惠农生活 - 平台端',
/** /**
* @type {boolean} true | false * @type {boolean} true | false
* @description Whether show the settings right-panel * @description Whether show the settings right-panel

View File

@ -27,7 +27,7 @@ module.exports = {
publicPath: '/', publicPath: '/',
outputDir: 'dist', outputDir: 'dist',
assetsDir: 'system', assetsDir: 'system',
indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html', indexPath: 'index.html',
lintOnSave: process.env.NODE_ENV === 'development', lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false, productionSourceMap: false,
devServer: { devServer: {