refactor: 重构状态更新接口,新增商品管理与勋章规则配置
1. 重构用户、宠物模板、勋章、管理员状态更新接口,移除冗余参数改为自动切换状态 2. 重命名宠物背景枚举为宠物皮肤,调整商品状态字段为枚举类型 3. 新增商品上下架状态管理接口与对应逻辑 4. 新增勋章规则配置系统,支持动态加载可用表和字段 5. 优化商品查询与展示逻辑,适配新的状态字段
This commit is contained in:
@ -49,14 +49,6 @@ namespace QYZH.InteractiveMagazine.Models.Entity
|
||||
/// </summary>
|
||||
public ProductTypeEnum Type {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:售卖状态: OnSale, OffSale
|
||||
/// Default:OnSale
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SaleStatus")]
|
||||
public string SaleStatus {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:扩展数据
|
||||
/// Default:
|
||||
|
||||
Reference in New Issue
Block a user