api/request.js
@@ -78,9 +78,10 @@ 500: responseError } // const BaseUrl = "http://192.168.3.159:9999/"; // const BaseUrl = "http://192.168.0.120:9997"; const BaseUrl = "http://192.168.0.120:9997"; // const BaseUrl = "http://192.168.0.120:9997" // const webSocketUrl = "ws://192.168.0.120:9997/wrzs/ws/info" const BaseUrl = "http://192.168.3.130:9997"; const webSocketUrl = "ws://192.168.3.130:9997/wrzs/ws/info" // 请求拦截 const fetch = (url, opt) => { @@ -146,5 +147,6 @@ export { fetch, BaseUrl BaseUrl, webSocketUrl }