liuchengsen 2 месяцев назад
Родитель
Сommit
e3a04f7928

+ 5 - 66
zhijiayun-test/src/main/resources/static/invite-test.html

@@ -771,40 +771,8 @@ const FIELD_DESC = {
         ['pricingPlans[].durationDays', 'Integer', '会员有效天数(30/365)'],
         ['pricingPlans[].durationDays', 'Integer', '会员有效天数(30/365)'],
         ['pricingPlans[].description', 'String', '方案描述']
         ['pricingPlans[].description', 'String', '方案描述']
     ],
     ],
-    'levelVersion': [
-        ['id', 'Long', '版本ID'],
-        ['version', 'String', '版本号(如v1.0)'],
-        ['versionName', 'String', '版本名称'],
-        ['isCurrent', 'Boolean', '是否当前激活版本'],
-        ['status', 'String', '状态(DRAFT/ACTIVE/ARCHIVED)'],
-        ['effectiveFrom', 'DateTime', '生效开始时间'],
-        ['effectiveTo', 'DateTime', '生效结束时间'],
-        ['changeLog', 'String', '变更说明'],
-        ['userCount', 'Integer', '该版本用户数'],
-        ['activatedAt', 'DateTime', '激活时间'],
-        ['createTime', 'DateTime', '创建时间'],
-        ['levels', 'Array', '等级明细列表(见下方子字段)'],
-        ['levels[].id', 'Long', '等级明细ID'],
-        ['levels[].levelName', 'String', '等级名称'],
-        ['levels[].levelCode', 'String', '等级编码'],
-        ['levels[].levelWeight', 'Integer', '等级权重'],
-        ['levels[].dailyQuota', 'Integer', '每日配额'],
-        ['levels[].monthlyQuota', 'Integer', '每月配额'],
-        ['levels[].maxConcurrent', 'Integer', '最大并发数'],
-        ['levels[].monthlyWatchlistLimit', 'Integer', '月关注限制'],
-        ['levels[].description', 'String', '等级描述']
-    ],
-    'userLevelDetail': [
-        ['id', 'Long', '等级明细ID'],
-        ['levelName', 'String', '等级名称'],
-        ['levelCode', 'String', '等级编码'],
-        ['levelWeight', 'Integer', '等级权重'],
-        ['dailyQuota', 'Integer', '每日配额'],
-        ['monthlyQuota', 'Integer', '每月配额'],
-        ['maxConcurrent', 'Integer', '最大并发数'],
-        ['monthlyWatchlistLimit', 'Integer', '月关注限制'],
-        ['description', 'String', '等级描述']
-    ],
+
+
     'platformAccount': [
     'platformAccount': [
         ['id', 'Long', '记录ID'],
         ['id', 'Long', '记录ID'],
         ['userId', 'Long', '用户ID'],
         ['userId', 'Long', '用户ID'],
@@ -962,19 +930,7 @@ const FIELD_DESC = {
         ['isSensitive', 'Boolean', '是否敏感操作'],
         ['isSensitive', 'Boolean', '是否敏感操作'],
         ['createTime', 'DateTime', '创建时间']
         ['createTime', 'DateTime', '创建时间']
     ],
     ],
-    'userLevelHistory': [
-        ['id', 'Long', '记录ID'],
-        ['fromVersionId', 'Long', '原版本ID'],
-        ['fromVersion', 'String', '原版本号'],
-        ['toVersionId', 'Long', '新版本ID'],
-        ['toVersion', 'String', '新版本号'],
-        ['fromLevelCode', 'String', '原等级编码'],
-        ['toLevelCode', 'String', '新等级编码'],
-        ['migrateReason', 'String', '迁移原因'],
-        ['migratedBy', 'String', '操作人'],
-        ['migratedAt', 'DateTime', '迁移时间'],
-        ['remark', 'String', '备注']
-    ],
+
     'inviteLinkResolve': [
     'inviteLinkResolve': [
         ['inviteCode', 'String', '邀请码'],
         ['inviteCode', 'String', '邀请码'],
         ['inviteLink', 'String', '完整邀请链接'],
         ['inviteLink', 'String', '完整邀请链接'],
@@ -984,25 +940,8 @@ const FIELD_DESC = {
         ['landingTitle', 'String', '落地页标题'],
         ['landingTitle', 'String', '落地页标题'],
         ['landingDesc', 'String', '落地页描述']
         ['landingDesc', 'String', '落地页描述']
     ],
     ],
-    'migrateResult': [
-        ['totalCount', 'Integer', '总迁移数'],
-        ['successCount', 'Integer', '成功数'],
-        ['failedCount', 'Integer', '失败数'],
-        ['failedUserIds', 'Array', '失败的用户ID列表']
-    ],
-    'levelInfo': [
-        ['userId', 'Long', '用户ID'],
-        ['configVersionId', 'Long', '配置版本ID'],
-        ['version', 'String', '版本号'],
-        ['versionName', 'String', '版本名称'],
-        ['levelDetailId', 'Long', '等级明细ID'],
-        ['levelCode', 'String', '等级编码'],
-        ['levelName', 'String', '等级名称'],
-        ['dailyQuota', 'Integer', '每日配额'],
-        ['monthlyQuota', 'Integer', '每月配额'],
-        ['maxConcurrent', 'Integer', '最大并发'],
-        ['monthlyWatchlistLimit', 'Integer', '月关注限制']
-    ]
+
+
 };
 };
 
 
 function renderFieldDesc(descKey) {
 function renderFieldDesc(descKey) {

+ 0 - 1
zhijiayun-user/src/main/java/com/xuekairui/user/config/SecurityConfig.java

@@ -48,7 +48,6 @@ public class SecurityConfig {
             "/api/invite/click/**",      // 邀请链接点击追踪(公开)
             "/api/invite/click/**",      // 邀请链接点击追踪(公开)
             "/api/invite/resolve-link",  // 解析邀请链接/邀请码(公开)
             "/api/invite/resolve-link",  // 解析邀请链接/邀请码(公开)
             "/invite/**",                // 浏览器直接访问邀请链接(公开)
             "/invite/**",                // 浏览器直接访问邀请链接(公开)
-            "/api/user-level-config/current-version", // 当前等级配置版本(公开)
             "/api/platform-config/**",   // 平台配置查询(公开)
             "/api/platform-config/**",   // 平台配置查询(公开)
             "/api/trial-quota/**",       // 体验配额配置查询(公开)
             "/api/trial-quota/**",       // 体验配额配置查询(公开)
             "/api/search/suggestions",   // 搜索建议(公开)
             "/api/search/suggestions",   // 搜索建议(公开)