替换官网渠道号

master
wujingling0908 2 weeks ago
parent f3d893e321
commit ca29e475b8
  1. 2
      src/components/abstract.vue
  2. 4
      src/components/chat-main.vue
  3. 2
      src/components/leave-message.vue
  4. 4
      src/tests/store-smoke.test.js
  5. 4
      src/views/chat.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) => {

@ -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"></business-handle>
<!--当前聊天记录 -->
@ -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) => {

@ -91,7 +91,7 @@ const weappSource = [
'95830000',
'95840000',
'95850000',
'95810000',
'96060000',
'95900000',
'95930000',
]

@ -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')

@ -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'

Loading…
Cancel
Save