chore: 更新后端服务端口从8082改为8073

This commit is contained in:
yangzhe 2026-03-16 16:47:41 +08:00
parent 52a1f58f78
commit e8009a845c
4 changed files with 6 additions and 6 deletions

View File

@ -109,7 +109,7 @@ export default {
window.location.protocol.indexOf("https") === 0 ? "wss" : "ws"; window.location.protocol.indexOf("https") === 0 ? "wss" : "ws";
const Id = const Id =
(this.vuex_user && (this.vuex_user.id || this.vuex_user.Id)) || ""; (this.vuex_user && (this.vuex_user.id || this.vuex_user.Id)) || "";
return `${protocol}://120.55.234.65:8082/api/Dialogue/HandleConnection?Id=${Id}`; // &equipmentType=0 return `${protocol}://120.55.234.65:8073/api/Dialogue/HandleConnection?Id=${Id}`; // &equipmentType=0
}, },
// WebSocket // WebSocket
initWebSocket() { initWebSocket() {

View File

@ -4,8 +4,8 @@ const install = (Vue, vm) => {
Vue.prototype.$u.http.setConfig({ Vue.prototype.$u.http.setConfig({
// baseUrl: 'https://xy.apps.service.zheke.com', // baseUrl: 'https://xy.apps.service.zheke.com',
// imgUrl: 'https://xy.apps.service.zheke.com/', // imgUrl: 'https://xy.apps.service.zheke.com/',
baseUrl: "http://120.55.234.65:8082", baseUrl: "http://120.55.234.65:8073",
imgUrl: "http://120.55.234.65:8082/", imgUrl: "http://120.55.234.65:8073/",
// imgUrl:'http://115.238.47.235:8987/', // imgUrl:'http://115.238.47.235:8987/',
// baseUrl: 'http://115.238.47.235:8993', // baseUrl: 'http://115.238.47.235:8993',
// 如果将此值设置为true拦截回调中将会返回服务端返回的所有数据response而不是response.data // 如果将此值设置为true拦截回调中将会返回服务端返回的所有数据response而不是response.data

View File

@ -9,10 +9,10 @@ const getWebSocketUrl = () => {
// #ifdef H5 // #ifdef H5
// H5 开发环境 // H5 开发环境
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
return 'ws://localhost:8082/ws/chat' return 'ws://localhost:8073/ws/chat'
} }
// H5 生产环境 // H5 生产环境
return 'wss://120.55.234.65:8082/ws/chat' return 'wss://120.55.234.65:8073/ws/chat'
// #endif // #endif
} }

View File

@ -250,7 +250,7 @@ export default {
// //
testLocalServer() { testLocalServer() {
this.wsUrl = 'ws://localhost:8082/ws/chat?token=test-token' this.wsUrl = 'ws://localhost:8073/ws/chat?token=test-token'
this.messageToSend = JSON.stringify({ this.messageToSend = JSON.stringify({
type: 'message', type: 'message',
fromUserId: 'test_user', fromUserId: 'test_user',