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