eeds_app/common/config.js
2024-07-12 16:33:40 +08:00

27 lines
765 B
JavaScript

// 请求地址
// export const URL_BASE = 'http://192.168.3.106:9090/server'
//export const URL_BASE = 'http://192.168.3.131:9090/server'
export const URL_BASE = 'http://192.168.3.196:9090/server'
export const URL_KAOSHI = 'http://192.168.3.196:8090/practice_api'
// 生产
// export const URL_BASE = 'https://1.30.216.250:1443/server'
// export const URL_KAOSHI = 'http://1.30.216.250:19091/practice_api'
// 测试
// export const URL_BASE = 'http://117.15.170.44:29279/server'
// export const URL_KAOSHI = 'http://117.15.170.44:29285/practice_api'
export const validInfo = (doType,name)=>{
uni.showModal({
title: '提示',
content: `${doType}${name}!`,
confirmText: '确定',
showCancel: false,
complete: function(res) {
}
})
}