修改获取录音权限,修改登录页完成直接进首页,首页下方课程列表组件化

This commit is contained in:
田岩
2025-09-20 16:40:34 +08:00
parent d3729efc4f
commit 6c5ed19ed9
23 changed files with 821 additions and 346 deletions
+2 -1
View File
@@ -95,6 +95,8 @@ export const commonUploadVoiceFile = (file, url, data = {}, fileKey = 'voice') =
} else if (REQUES_ERROR_CODES['NO_LOGIN'].includes(res.rtnCode)) {
goto_login_fun()
return reject('NO_LOGIN');
}else if(res.rtnCode === '0004') {
return reject('N');
}
return reject('Other');
} catch (error) {
@@ -102,7 +104,6 @@ export const commonUploadVoiceFile = (file, url, data = {}, fileKey = 'voice') =
}
},
fail(error) {
console.log('err', error);
return reject('Other');
}
});