From c97d01f4d1c98bedec0e53aca91d21c78eecf9e6 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期五, 26 七月 2024 08:48:23 +0800 Subject: [PATCH] feture:更改ip --- api/request.js | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/api/request.js b/api/request.js index f7e569d..269a97a 100644 --- a/api/request.js +++ b/api/request.js @@ -100,21 +100,22 @@ 500: responseError } -// const BaseUrl = "http://192.168.0.118:9896" -// const webSocketUrl = "ws://192.168.0.118:9896/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://192.168.1.104:9896" -// const webSocketUrl = "ws://192.168.1.104:9896/wrzs/ws/info" +// 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:9096"; +// export const onlineurl = 'https://mx.jzeg.cn:9195'; +export const onlineurl = 'https://mr3.res.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.31.15:9896"; -const webSocketUrl = "ws://192.168.31.15:9896/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://mr3.res.jzeg.cn:9195'; +const webSocketUrl = "wss://mr3.res.jzeg.cn:9195/wrzs/ws/info" // 璇锋眰鎷︽埅 @@ -129,7 +130,8 @@ if (uni.getStorageSync('token')) { header = { "Authorization": "Bearer" + ' ' + uni.getStorageSync('token'), - "CLIENT_TOC": "Y", + "clientToc": "Y", + 'CLIENT_TOC': 'Y', } } @@ -191,4 +193,4 @@ fetch, BaseUrl, webSocketUrl -} \ No newline at end of file +} -- Gitblit v1.9.1