diff --git a/src/components/abstract.vue b/src/components/abstract.vue index 72b4175..854721c 100644 --- a/src/components/abstract.vue +++ b/src/components/abstract.vue @@ -40,7 +40,7 @@ const businessHandle = () => { store.source == "95270000" || store.source == "95320000" || store.source == "95350000" || - store.source == "95810000" + store.source == "96060000" ) { Post("notify/info", { userInfoId: store.userId }) .then((res) => { diff --git a/src/components/chat-main.vue b/src/components/chat-main.vue index ac3c8a3..658d3f3 100644 --- a/src/components/chat-main.vue +++ b/src/components/chat-main.vue @@ -47,7 +47,7 @@ tokenExist && manualService != '2' && businessHandleInfo && - (source == 95270000 || source == 95320000 || source == 95350000 || source == 95810000) + (source == 95270000 || source == 95320000 || source == 95350000 || source == 96060000) " :businessHandleInfo="businessHandleInfo"> @@ -619,7 +619,7 @@ function businessHandleFn() { source.value == '95270000' || source.value == '95320000' || source.value == '95350000' || - source.value == '95810000' + source.value == '96060000' ) { fetchPost('notify/info', { userInfoId: userId.value }) .then((res) => { diff --git a/src/components/leave-message.vue b/src/components/leave-message.vue index 05d49ed..cf1224c 100644 --- a/src/components/leave-message.vue +++ b/src/components/leave-message.vue @@ -91,7 +91,7 @@ const weappSource = [ '95830000', '95840000', '95850000', - '95810000', + '96060000', '95900000', '95930000', ] diff --git a/src/tests/store-smoke.test.js b/src/tests/store-smoke.test.js index 1d93964..4e6e9cb 100644 --- a/src/tests/store-smoke.test.js +++ b/src/tests/store-smoke.test.js @@ -11,7 +11,7 @@ describe('store/index.js smoke', () => { expect(typeof store.setUserInfo).toBe('function') expect(typeof store.setSessionId).toBe('function') - store.setSource('95810000') + store.setSource('96060000') store.setNotitle('1') store.setUserInfo({ name: '测试' }) store.setSessionId('sid-1') @@ -19,7 +19,7 @@ describe('store/index.js smoke', () => { store.setChatList({ msgText: 'hi', timestamp: 1 }) store.addSendMessageList({ reqAndResType: '1', msgText: 'hello' }) - expect(store.source).toBe('95810000') + expect(store.source).toBe('96060000') expect(store.notitle).toBe('1') expect(store.userInfo.name).toBe('测试') expect(store.sessionId).toBe('sid-1') diff --git a/src/views/chat.vue b/src/views/chat.vue index fa3387c..8d587fa 100644 --- a/src/views/chat.vue +++ b/src/views/chat.vue @@ -116,7 +116,7 @@ onMounted(async () => { // forbidClick: true, // }) // const checkRes = await Post('config/downSource', { - // source: urlParams.value.ht || '95810000', + // source: urlParams.value.ht || '96060000', // }) // checkToast.close() // if (checkRes.code === 0 && checkRes.data !== null) { @@ -331,7 +331,7 @@ const initToken = async () => { } const currentSource = data.source || urlParams.value.ht || '' - if (urlParams.value.bqQuestion && currentSource === '95810000') { + if (urlParams.value.bqQuestion && currentSource === '96060000') { store.setIsBqCalcClaim(true) const msgSource = data.msgSource || store.manualService || '1' const isManual = String(msgSource) === '2' || String(store.manualService) === '2'