优化:数据迁移功能优化
This commit is contained in:
@@ -15,7 +15,7 @@ export const courseSubjectClassificationApi = {
|
||||
* @returns 分类数据
|
||||
*/
|
||||
getCourseMedicalTree() {
|
||||
return mainClient.request<ICourseCategoryResponse>({
|
||||
return skeletonClient.request<ICourseCategoryResponse>({
|
||||
url: uni.getStorageSync('token') ? 'medical/home/getCourseMedicalTree' : '/visitor/getCourseMedicalTree',
|
||||
method: 'POST',
|
||||
data: {}
|
||||
|
||||
@@ -223,8 +223,8 @@
|
||||
"migrateCodePlaceholder": "The code obtained from chinese account",
|
||||
"migrateWarning": "Migration is irreversible, please proceed with caution!",
|
||||
"migrateInstructions": "Migration Instructions",
|
||||
"instruction1": "Please obtain the migration code from your chinese account, get it by going to 【我的】-【数据迁移】-【获取迁移验证码】.",
|
||||
"instruction2": "After data migration is complete, the chinese account data will be cleared, and all purchased Tianyi Coins, points, courses, E-book, VIP, certificate, and User Contribution will be transferred to the current account",
|
||||
"instruction1": "Please obtain the migration code from your chinese account, get it by going to 【我的】-【数据迁移】-【查看账号和迁移验证码】.",
|
||||
"instruction2": "After data migration is complete, the chinese account data will be cleared, and all purchased Tianyi Coins, points, courses, VIP and User Hufen will be transferred to the current account",
|
||||
"instruction3": "The migration process may take a few minutes, please be patient.",
|
||||
"instruction4": "If you encounter any issues, please contact customer service for assistance.",
|
||||
"alreadyMigrated": "You have already migrated:",
|
||||
|
||||
@@ -224,8 +224,8 @@
|
||||
"migrateCodePlaceholder": "国内版账号获取的迁移验证码",
|
||||
"migrateWarning": "迁移后不可恢复,请谨慎操作!",
|
||||
"migrateInstructions": "迁移说明",
|
||||
"instruction1": "请在吴门医述APP中获取迁移验证码,获取方式【我的】-【数据迁移】-【获取迁移验证码】。",
|
||||
"instruction2": "数据迁移完成后,旧账号数据将被清空,已购买的天医币、积分、课程、电子书、VIP、证书、湖分将转移到当前账号。",
|
||||
"instruction1": "请在吴门医述APP中获取迁移验证码,获取方式【我的】-【数据迁移】-【查看账号和迁移验证码】。",
|
||||
"instruction2": "数据迁移完成后,旧账号数据将被清空,已购买的天医币、积分、课程、VIP、湖分将转移到当前账号。",
|
||||
"instruction3": "迁移过程可能需要几分钟时间,请耐心等待。",
|
||||
"instruction4": "如遇到问题,请联系客服获取帮助。",
|
||||
"alreadyMigrated": "您已迁移过:",
|
||||
|
||||
@@ -124,6 +124,13 @@
|
||||
url: '/pages/user/myBook/index',
|
||||
type: 'pageJump'
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
name: t('user.iHufen'),
|
||||
url: '/pages/user/hufen/index',
|
||||
type: 'pageJump',
|
||||
hufenState: true
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: t('user.profile'),
|
||||
@@ -155,13 +162,6 @@
|
||||
// url: '/pages/user/certificate/index',
|
||||
// type: 'pageJump'
|
||||
// },
|
||||
{
|
||||
id: 8,
|
||||
name: t('user.iHufen'),
|
||||
url: '/pages/user/hufen/index',
|
||||
type: 'pageJump',
|
||||
hufenState: true
|
||||
},
|
||||
])
|
||||
// 湖分
|
||||
const hufenData = ref()
|
||||
|
||||
@@ -151,6 +151,9 @@ const submitMigrate = async () => {
|
||||
// 清空表单
|
||||
formData.value.tel = ''
|
||||
formData.value.code = ''
|
||||
|
||||
// 刷新用户迁移信息
|
||||
getMigrateInfo()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user