获取顶级的蛙蛙秀栏目分类
Controller: Api/AmWaWa/WaWaShow/ColumnManage/ColumnCategoryChange
Action: GetWaWaShowCategoryLv0[获取顶级的蛙蛙秀栏目分类]
POST参数(JSON)
名称 |
类型 |
含义 |
说明 |
可选项 |
不需要参数 |
返回值(JSON)
名称 |
类型 |
含义 |
说明 |
可选项 |
ErrorMessage |
String |
提示信息 |
成功为空,不成功为错误信息 |
|
ErrorCode |
int |
错误码 |
有错误是-1 没错误是0 |
|
Model |
MColumnCategoryChange |
MColumnCategoryChange类 Model对象,
结果存在 WaWaShowCategoryLv0List 里
/// <summary> /// /// </summary> [Serializable] public class MColumnCategoryChange : BaseModel { /// <summary> /// 蛙蛙秀Id /// </summary> public Guid WaWaShowId { get; set; } /// <summary> /// 首级栏目分类Id /// </summary> public Guid WaWaShowCategoryLv0Id { get; set; } /// <summary> /// 二级栏目分类Id /// </summary> public Guid WaWaShowCategoryLv1Id { get; set; } /// <summary> /// 当前蛙蛙秀要添加或更新的的目标分类 /// </summary> public Guid TargCategoryId { get; set; } /// <summary> /// 蛙蛙秀顶级栏目分类 /// </summary> public List<WaWaShowCategoryModel> WaWaShowCategoryLv0List { get; set; } /// <summary> /// 蛙蛙秀二级栏目分类 /// </summary> public List<WaWaShowCategoryModel> WaWaShowCategoryLv1List { get; set; } /// <summary> /// 当前蛙蛙秀属性列表 /// </summary> public List<WaWaShowAttr> WaWaShowAttrList { get; set; } /// <summary> /// 蛙蛙秀单个属性以及值集合 /// </summary> public List<ShowAttribute> ShowAttributeList { get; set; } /// <summary> /// 已拥有属性Id /// </summary> public Dictionary<Guid,Guid> HasAttrDic { get; set; } }
WaWaShowCategoryModel 类
/// <summary> /// 获取蛙蛙秀栏目分类的实体 /// </summary> [Serializable] public class WaWaShowCategoryModel { /// <summary> /// 分类Id /// </summary> public Guid CategoryId { get; set; } /// <summary> /// 分类名称 /// </summary> public string CategoryName { get; set; } /// <summary> /// 是否有子级 /// </summary> public bool IsHasChilder { get; set; } }
时间: 2024-10-19 07:36:36