修改不缓存问答题,修改百禄形象不重新设置的问题
This commit is contained in:
+2
-2
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user