修改不缓存问答题,修改百禄形象不重新设置的问题

This commit is contained in:
田岩
2025-09-22 14:56:47 +08:00
parent aa7d58ebed
commit 9adeba89d5
12 changed files with 1944 additions and 2009 deletions
+2 -2
View File
@@ -91,11 +91,11 @@ export const commonUploadVoiceFile = (file, url, data = {}, fileKey = 'voice') =
try {
const res = JSON.parse(result.data);
if (res.rtnCode === '0000') {
return resolve(result);
return resolve(res);
} else if (REQUES_ERROR_CODES['NO_LOGIN'].includes(res.rtnCode)) {
goto_login_fun()
return reject('NO_LOGIN');
}else if(res.rtnCode === '0004') {
} else if (res.rtnCode === '0004') {
return reject('N');
}
return reject('Other');