diff --git a/api/modules/cousre_subject_classification.ts b/api/modules/cousre_subject_classification.ts index 1b0cc97..370435e 100644 --- a/api/modules/cousre_subject_classification.ts +++ b/api/modules/cousre_subject_classification.ts @@ -15,7 +15,7 @@ export const courseSubjectClassificationApi = { * @returns 分类数据 */ getCourseMedicalTree() { - return mainClient.request({ + return skeletonClient.request({ url: uni.getStorageSync('token') ? 'medical/home/getCourseMedicalTree' : '/visitor/getCourseMedicalTree', method: 'POST', data: {} diff --git a/locale/en.json b/locale/en.json index 46be2bf..0379430 100644 --- a/locale/en.json +++ b/locale/en.json @@ -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:", diff --git a/locale/zh-Hans.json b/locale/zh-Hans.json index d49a7ae..42c30e8 100644 --- a/locale/zh-Hans.json +++ b/locale/zh-Hans.json @@ -224,8 +224,8 @@ "migrateCodePlaceholder": "国内版账号获取的迁移验证码", "migrateWarning": "迁移后不可恢复,请谨慎操作!", "migrateInstructions": "迁移说明", - "instruction1": "请在吴门医述APP中获取迁移验证码,获取方式【我的】-【数据迁移】-【获取迁移验证码】。", - "instruction2": "数据迁移完成后,旧账号数据将被清空,已购买的天医币、积分、课程、电子书、VIP、证书、湖分将转移到当前账号。", + "instruction1": "请在吴门医述APP中获取迁移验证码,获取方式【我的】-【数据迁移】-【查看账号和迁移验证码】。", + "instruction2": "数据迁移完成后,旧账号数据将被清空,已购买的天医币、积分、课程、VIP、湖分将转移到当前账号。", "instruction3": "迁移过程可能需要几分钟时间,请耐心等待。", "instruction4": "如遇到问题,请联系客服获取帮助。", "alreadyMigrated": "您已迁移过:", diff --git a/pages/user/index.vue b/pages/user/index.vue index d0c8f91..6626581 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -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() diff --git a/pages/user/migrate/index.vue b/pages/user/migrate/index.vue index e74d7b7..458e7d4 100644 --- a/pages/user/migrate/index.vue +++ b/pages/user/migrate/index.vue @@ -151,6 +151,9 @@ const submitMigrate = async () => { // 清空表单 formData.value.tel = '' formData.value.code = '' + + // 刷新用户迁移信息 + getMigrateInfo() }