72 lines
2.7 KiB
C#
72 lines
2.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AllBase.Model.Result.WXResult
|
|
{
|
|
public class WXGetProdCateInfo
|
|
{
|
|
public predInfoResult predInfo { get; set; }
|
|
public List<aiCategoryResult> aiCategoryList { get; set; }
|
|
public string version { get; set; } // "ProductClsRAG",
|
|
public List<long> noQualificationCatIds { get; set; } // [ 547705, 547704, 547701 ],
|
|
public List<depositCatInfoResult> depositCatInfos { get; set; }
|
|
public string visionCallMethod { get; set; } // "ProductClsRAG"
|
|
}
|
|
|
|
public class depositCatInfoResult
|
|
{
|
|
public long? catId { get; set; } // 547705,
|
|
public int? amountToPay { get; set; } // 0,
|
|
public bool? error { get; set; } // false
|
|
}
|
|
|
|
public class aiCategoryResult
|
|
{
|
|
public long? id { get; set; } // 547705,
|
|
public List<aiCatePathResult> paths { get; set; }
|
|
|
|
public int? depositAmount { get; set; } // 0,
|
|
public bool? catAuth { get; set; } // true,
|
|
public List<object> limitSubjectTypes { get; set; } // [ ]
|
|
}
|
|
|
|
public class aiCatePathResult
|
|
{
|
|
public string id { get; set; } // "10000111",
|
|
public string name { get; set; } // "服饰内衣",
|
|
public List<string> sonIdList { get; set; } // [ "10000397", "10000115", "10000112", "10000113", "10000114" ],
|
|
/// <summary>
|
|
/// 父类目ID
|
|
/// </summary>
|
|
public string fId { get; set; } // "0",
|
|
public int? level { get; set; } // 1,
|
|
public bool? leaf { get; set; } // false
|
|
public int? state { get; set; } // 0,
|
|
public bool? hasTrialCategory { get; set; } // false,
|
|
public bool? isTrialCategory { get; set; } // false,
|
|
public bool? isLocalLife { get; set; } // false
|
|
|
|
}
|
|
|
|
public class predInfoResult
|
|
{
|
|
public List<CatResResult> firstCatRes { get; set; }
|
|
public List<CatResResult> secondCatRes { get; set; }
|
|
public List<CatResResult> thirdCatRes { get; set; }
|
|
public List<object> singleSecondCatRes { get; set; }
|
|
public List<object> singleFirstCatRes { get; set; }
|
|
public int? isSupportedCate { get; set; } // 1
|
|
}
|
|
|
|
public class CatResResult
|
|
{
|
|
public long? catId { get; set; } // 10000111,
|
|
public string catName { get; set; } // "服饰内衣",
|
|
public int? level { get; set; } // 1
|
|
public string modelVersion { get; set; } // "商品标题含'加绒加厚、保暖'等关键词,这表示裤子具备加绒保暖功能。主图展示了加绒内衬,也符合【服饰内衣:女装:裤子:加绒裤】类目特征。"
|
|
}
|
|
}
|