mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 12:13:51 +08:00
tt
This commit is contained in:
35
hotgo-uniapp/common/config.js
Normal file
35
hotgo-uniapp/common/config.js
Normal file
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
|
||||
*/
|
||||
const config = {
|
||||
|
||||
// 产品名称
|
||||
productName: 'JeeSite Mobile',
|
||||
|
||||
// 公司名称
|
||||
companyName: 'ThinkGem',
|
||||
|
||||
// 产品版本号
|
||||
productVersion: 'V4.3.2',
|
||||
|
||||
// 版本检查标识
|
||||
appCode: 'android',
|
||||
|
||||
// 内部版本号码
|
||||
appVersion: 1,
|
||||
|
||||
// 管理基础路径
|
||||
adminPath: ''
|
||||
|
||||
}
|
||||
|
||||
// 设置后台接口服务的基础地址
|
||||
config.baseUrl = 'http://localhost:8299/api';
|
||||
|
||||
// 建议:打开下面注释,方便根据环境,自动设定服务地址
|
||||
if (process.env.NODE_ENV === 'development'){
|
||||
// config.baseUrl = '/../js'; // 代理模式 vue.config.js 中找到 devServer 设置的地址
|
||||
// config.baseUrl = 'http://127.0.0.1:8980/js';
|
||||
}
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user