You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.3 KiB

9 months ago
/* process.env.NODE_ENV设置生产环境模式 */
/*JAVA app.java.jnpfsoft.com NET dotnet.jnpfsoft.com*/
// #ifndef MP
const baseURL = process.env.NODE_ENV === "production" ?
5 months ago
"http://221.214.32.166:40000" : "http://221.214.32.166:40000" // 接口前缀
9 months ago
const define = {
5 months ago
copyright: "Copyright @ 2024 上海长江云息数字科技有限公司版权所有",
9 months ago
sysVersion: "V3.5",
baseURL: baseURL,
5 months ago
webSocketUrl: process.env.NODE_ENV === "production" ? "wss://221.214.32.166:40000/websocket" :
"ws://221.214.32.166:40000/api/message/websocket",
9 months ago
comUploadUrl: baseURL + '/api/file/Uploader/',
timeout: process.env.NODE_ENV === 'production' ? 1000000 : 1000000,
5 months ago
report: process.env.NODE_ENV === 'development' ? 'http://221.214.32.166:8200' : baseURL + '/Report'
9 months ago
}
// #endif
// #ifdef MP
5 months ago
const baseURL = "http://221.214.32.166:40000" // "https://app.java.jnpfsoft.com"
9 months ago
const define = {
5 months ago
copyright: "Copyright @ 2024 上海长江云息数字科技有限公司版权所有",
9 months ago
sysVersion: "V3.5",
baseURL: baseURL,
5 months ago
webSocketUrl: "ws://221.214.32.166:40000/api/message/websocket", //"wss://app.java.jnpfsoft.com/api/message/websocket"
9 months ago
comUploadUrl: baseURL + '/api/file/Uploader/',
timeout: process.env.NODE_ENV === 'production' ? 1000000 : 1000000,
report: baseURL + '/Report'
}
// #endif
export default define