巡检记录接口对接
This commit is contained in:
15
wuye-manager-uniapp/api/BaseUrl.js
Normal file
15
wuye-manager-uniapp/api/BaseUrl.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @Description: 抽离 公共基础地址
|
||||
* @Author: Zy
|
||||
* @Date: 2026-05-18 15:36:10
|
||||
* @LastEditor: Zy
|
||||
* @LastEditTime: 2026-05-18 15:36:21
|
||||
*/
|
||||
let baseUrl = ''
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
baseUrl = 'http://192.168.0.239:8080' // 开发环境
|
||||
} else {
|
||||
baseUrl = 'http://192.168.0.239:8080' // 生产环境
|
||||
}
|
||||
export default baseUrl;
|
||||
Reference in New Issue
Block a user