| | |
| | | 500: responseError |
| | | } |
| | | |
| | | const BaseUrl = "http://192.168.31.14:9997" |
| | | const webSocketUrl = "ws://192.168.31.14:9997/wrzs/ws/info" |
| | | // const BaseUrl = "http://192.168.0.110:9896" |
| | | // const webSocketUrl = "ws://192.168.0.110:9896/wrzs/ws/info" |
| | | |
| | | // const BaseUrl = "http://localhost:9997"; |
| | | // const webSocketUrl = "ws://localhost:9997/wrzs/ws/info" |
| | | export const onlineurl = "https://mx.jzeg.cn:9096"; |
| | | // const BaseUrl = "http://192.168.0.22:9896" |
| | | // const webSocketUrl = "ws://192.168.0.22:9896/wrzs/ws/info" |
| | | |
| | | export const onlineurl = 'https://mx.jzeg.cn:9195'; |
| | | // const BaseUrl = "http://192.168.0.100:9997"; |
| | | // const webSocketUrl = "ws://192.168.0.100:9997/wrzs/ws/info" |
| | | |
| | | // const BaseUrl = "http://192.168.0.108:9997"; |
| | | // const webSocketUrl = "ws://192.168.0.108:9997/wrzs/ws/info" |
| | | // 线上生产 |
| | | // const BaseUrl = "https://mx.jzeg.cn:9096"; |
| | | // const webSocketUrl = "wss://mx.jzeg.cn:9096/wrzs/ws/info" |
| | | const BaseUrl = 'https://mx.jzeg.cn:9195'; |
| | | const webSocketUrl = "wss://mx.jzeg.cn:9195/wrzs/ws/info" |
| | | |
| | | |
| | | // 请求拦截 |
| | |
| | | if (uni.getStorageSync('token')) { |
| | | header = { |
| | | "Authorization": "Bearer" + ' ' + uni.getStorageSync('token'), |
| | | "CLIENT_TOC": "Y", |
| | | "clientToc": "Y", |
| | | 'CLIENT_TOC': 'Y', |
| | | } |
| | | } |
| | | |
| | |
| | | fetch, |
| | | BaseUrl, |
| | | webSocketUrl |
| | | } |
| | | } |