From 66dcc0a49022cf23198f399f274abee89d876991 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 25 四月 2024 09:58:55 +0800 Subject: [PATCH] feat:客户注册增加字段 --- api/request.js | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/api/request.js b/api/request.js index 8c5cdca..a369ab4 100644 --- a/api/request.js +++ b/api/request.js @@ -103,18 +103,18 @@ // const BaseUrl = "http://192.168.0.110:9896" // const webSocketUrl = "ws://192.168.0.110:9896/wrzs/ws/info" -// const BaseUrl = "http://192.168.0.102:9896" -// const webSocketUrl = "ws://192.168.0.102: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'; // 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" // 璇锋眰鎷︽埅 @@ -129,7 +129,8 @@ if (uni.getStorageSync('token')) { header = { "Authorization": "Bearer" + ' ' + uni.getStorageSync('token'), - "CLIENT_TOC": "Y", + "clientToc": "Y", + 'CLIENT_TOC': 'Y', } } @@ -191,4 +192,4 @@ fetch, BaseUrl, webSocketUrl -} \ No newline at end of file +} -- Gitblit v1.9.1