【调整】获取商品分类功能,从原先的只获取二级分类,改成递归获取无限级分类。

This commit is contained in:
jianweie code
2024-02-22 15:42:15 +08:00
parent 15d429a25b
commit 7ecbeb1373
2 changed files with 28 additions and 58 deletions

View File

@@ -35,29 +35,6 @@ namespace CoreCms.Net.Model.ViewModels.DTO
/// </summary>
public string imageUrl { get; set; }
public List<WxGoodCategoryChild> child { get; set; }
}
public class WxGoodCategoryChild
{
/// <summary>
/// 序列
/// </summary>
public int id { get; set; }
/// <summary>
/// 标题
/// </summary>
public string name { get; set; }
/// <summary>
/// 排序
/// </summary>
public int sort { get; set; }
/// <summary>
/// 图片地址
/// </summary>
public string imageUrl { get; set; }
public List<WxGoodCategoryDto>? child { get; set; }
}
}