AddShowAttribute

根据当前选中的分类获取属性与值列表

Controller: Api/AmWaWa/WaWaShow/ColumnManage/ColumnCategoryChange
Action: AddShowAttribute[根据当前选中的分类获取属性与值列表]

POST参数(JSON)


名称


类型


含义


说明


可选项

HasAttrDic Dictionary<Guid,Guid>  拥有属性Id    
WaWaShowAttrList  List<WaWaShowAttr>  当前蛙蛙秀属性列表    
WaWaShowId Guid  蛙蛙秀Id    
ShowAttributeList Guid 蛙蛙秀单个属性以及值集合    
WaWaShowCategoryLv0Id Guid 首级栏目分类Id    
WaWaShowCategoryLv1Id Guid 2级栏目分类Id    

返回值(JSON


名称


类型


含义


说明


可选项


ErrorMessage


String


提示信息


成功为空,不成功为错误信息


ErrorCode


int


错误码


有错误是-1 没错误是0

 

Model


MColumnCategoryChange

   

MColumnCategoryChange类 Model对象,

 /// <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; }
    }

ShowAttribute

   /// <summary>
    /// 蛙蛙秀的属性与值添加表
    /// </summary>
    [Serializable]
    public class ShowAttribute
    {
        /// <summary>
        ///
        /// </summary>
        public Guid CatalogAttId { get; set; }

        /// <summary>
        ///
        /// </summary>
        public Guid CatalogValueId { get; set; }

        /// <summary>
        ///
        /// </summary>
        public Guid LQ_WaWaShowId { get; set; }
    }
时间: 2024-10-11 23:12:33

AddShowAttribute的相关文章