JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_修复安卓app端人数过多时候无法正确显示
This commit is contained in:
+2
-2
@@ -4,11 +4,11 @@ ENV = 'development'
|
||||
|
||||
|
||||
|
||||
VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
|
||||
# VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
|
||||
|
||||
|
||||
|
||||
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
|
||||
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -8,8 +8,8 @@ android {
|
||||
applicationId "cn.com.jlbank.ai"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 33
|
||||
versionName System.getenv("versionName") ?: "0.0.5"
|
||||
versionCode System.getenv("versionCode")?.toInteger() ?: 5
|
||||
versionName System.getenv("versionName") ?: "0.3.1"
|
||||
versionCode System.getenv("versionCode")?.toInteger() ?: 229
|
||||
multiDexEnabled true
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -83,6 +83,7 @@ export default function useWebSocket(aaas = null, options = {}) {
|
||||
playPcmCallback(numArray)
|
||||
break;
|
||||
case MessageType.ERROR:
|
||||
console.log('错误',body.errCode, body.errMsg);
|
||||
switch (body.errCode) {
|
||||
case 1:
|
||||
// ASR或TTS初始化出错
|
||||
@@ -104,14 +105,20 @@ export default function useWebSocket(aaas = null, options = {}) {
|
||||
code: 4001,
|
||||
reason: body.errMsg
|
||||
})
|
||||
onClose({
|
||||
code: 4001,
|
||||
reason: body.errMsg
|
||||
})
|
||||
break;
|
||||
default:
|
||||
console.log('其他错误码的默认处理', body);
|
||||
// 其他错误码的默认处理(如果需要)
|
||||
// ws.value.close({
|
||||
// code: 1001,
|
||||
// reason: body.errMsg
|
||||
// })
|
||||
ws.value.close({
|
||||
code: 4001,
|
||||
reason: body.errMsg
|
||||
})
|
||||
onClose({
|
||||
code: 4001,
|
||||
reason: body.errMsg
|
||||
})
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user