feat:数字农业
This commit is contained in:
parent
99d196d283
commit
91fa76d278
@ -1,5 +1,8 @@
|
||||
# port
|
||||
VUE_PORT = 8000
|
||||
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 青蛙农业租户版
|
||||
VUE_APP_TITLE = 数字农业平台
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
@ -11,12 +14,12 @@ VUE_APP_BASE_API = '/dev-api'
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
||||
# 后端接口地址
|
||||
VUE_APP_SERVER_API_URL = 'http://localhost:8080'
|
||||
VUE_APP_SERVER_API_URL = 'http://47.109.205.240:10085/admin'
|
||||
|
||||
# EMQX接口地址和账号(EMQX安装默认账号密码为admin public)
|
||||
VUE_APP_EMQX_API_URL = 'http://localhost:8081'
|
||||
VUE_APP_EMQX_API_URL = 'http://47.109.205.240:1883'
|
||||
VUE_APP_EMQX_API_USER_NAME = 'admin'
|
||||
VUE_APP_EMQX_API_PASSWORD = 'public'
|
||||
VUE_APP_EMQX_API_PASSWORD = 'sznyb@2025'
|
||||
|
||||
# EMQX消息服务器连接地址
|
||||
VUE_APP_EMQX_SERVER_URL = 'ws://localhost:8083/mqtt'
|
||||
@ -24,4 +27,3 @@ VUE_APP_EMQX_SERVER_URL = 'ws://localhost:8083/mqtt'
|
||||
# 高德地图参数
|
||||
VUE_APP_GAO_DE_SECURITYJSCODE = '77ef0c4c95553799630ad60dd9b692d7'
|
||||
VUE_APP_GAO_DE_KEY = '661ce1b2c811daca029685d9ae25ee6d'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 青蛙农业租户版
|
||||
VUE_APP_TITLE = 数字农业平台
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
@ -43,7 +43,7 @@
|
||||
"axios": "0.24.0",
|
||||
"clipboard": "2.0.6",
|
||||
"codemirror": "^5.65.2",
|
||||
"core-js": "3.19.1",
|
||||
"core-js": "3",
|
||||
"dhtmlx-gantt": "^8.0.1",
|
||||
"echarts": "^5.3.1",
|
||||
"echarts-gl": "^2.0.9",
|
||||
|
@ -58,7 +58,7 @@ export function getCodeImg() {
|
||||
})
|
||||
}
|
||||
|
||||
//查看是否存在bindId
|
||||
// 查看是否存在bindId
|
||||
export function checkBindId(bindId) {
|
||||
return request({
|
||||
url: '/auth/checkBindId/' + bindId,
|
||||
@ -66,7 +66,7 @@ export function checkBindId(bindId) {
|
||||
})
|
||||
}
|
||||
|
||||
//查看是否存在errorId
|
||||
// 查看是否存在errorId
|
||||
export function getErrorMsg(errorId) {
|
||||
return request({
|
||||
url: '/auth/getErrorMsg/' + errorId,
|
||||
|
@ -7,9 +7,9 @@ function resolve(dir) {
|
||||
|
||||
const name = process.env.VUE_APP_TITLE || '智慧农业智能控制系统' // 网页标题
|
||||
|
||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||
const port = process.env.VUE_PORT || process.env.npm_config_port || 80 // 端口
|
||||
// vue.config.js 配置说明
|
||||
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
||||
// 官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
||||
// 这里只列一部分,具体配置参考文档
|
||||
module.exports = {
|
||||
// 部署生产环境和开发环境下的URL。
|
||||
|
Loading…
x
Reference in New Issue
Block a user