refactor: 重构状态更新接口,新增商品管理与勋章规则配置
1. 重构用户、宠物模板、勋章、管理员状态更新接口,移除冗余参数改为自动切换状态 2. 重命名宠物背景枚举为宠物皮肤,调整商品状态字段为枚举类型 3. 新增商品上下架状态管理接口与对应逻辑 4. 新增勋章规则配置系统,支持动态加载可用表和字段 5. 优化商品查询与展示逻辑,适配新的状态字段
This commit is contained in:
43
QYZH.InteractiveMagazine.WebApi/medal-rule-config.json
Normal file
43
QYZH.InteractiveMagazine.WebApi/medal-rule-config.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"MedalRuleConfig": {
|
||||
"Tables": [
|
||||
{
|
||||
"TableName": "CheckInRecord",
|
||||
"DisplayName": "签到记录",
|
||||
"Fields": [
|
||||
{ "FieldName": "ContinuousDays", "DisplayName": "连续天数" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"TableName": "UserPet",
|
||||
"DisplayName": "宠物",
|
||||
"Fields": [
|
||||
{
|
||||
"FieldName": "GrowthPoints",
|
||||
"DisplayName": "成长值"
|
||||
},
|
||||
{
|
||||
"FieldName": "FeedingCount",
|
||||
"DisplayName": "喂养次数"
|
||||
},
|
||||
{
|
||||
"FieldName": "Comprehension",
|
||||
"DisplayName": "理解力"
|
||||
},
|
||||
{
|
||||
"FieldName": "Judgment",
|
||||
"DisplayName": "判断力"
|
||||
},
|
||||
{
|
||||
"FieldName": "Expression",
|
||||
"DisplayName": "表达力"
|
||||
},
|
||||
{
|
||||
"FieldName": "Persuasiveness",
|
||||
"DisplayName": "说服力"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user