| | |
| | | 500: responseError |
| | | } |
| | | |
| | | // const BaseUrl = "http://192.168.0.120:9997" |
| | | // const webSocketUrl = "ws://192.168.0.120:9997/wrzs/ws/info" |
| | | // const BaseUrl = "http://192.168.31.18:9997" |
| | | // const webSocketUrl = "ws://192.168.31.18:9997/wrzs/ws/info" |
| | | |
| | | // const BaseUrl = "http://192.168.3.119:9997"; |
| | | // const BaseUrl = "http://192.168.0.144:9997"; |
| | | const BaseUrl = "http://hesuancj.cn:9997"; |
| | | // 线上 |
| | | // const BaseUrl = "https://hesuancj.cn:9095"; |
| | | const BaseUrl = "http://192.168.31.14:9997"; |
| | | const webSocketUrl = "ws://192.168.31.14:9997/wrzs/ws/info" |
| | | export const onlineurl = "https://mx.jzeg.cn:9095"; |
| | | // const BaseUrl = "http://192.168.0.100:9997"; |
| | | // const webSocketUrl = "ws://192.168.0.100:9997/wrzs/ws/info" |
| | | |
| | | // const webSocketUrl = "ws://hesuancj.cn:9095/wrzs/ws/info" |
| | | const webSocketUrl = "ws://hesuancj.cn: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:9095"; |
| | | // const webSocketUrl = "wss://mx.jzeg.cn:9095/wrzs/ws/info" |
| | | |
| | | |
| | | // 请求拦截 |
| | | const fetch = (url, opt) => { |
| | | // 查找对应地址 |
| | |
| | | fetch, |
| | | BaseUrl, |
| | | webSocketUrl |
| | | } |
| | | } |