Files
KJD_WebService/AllBase/Model/Param/WXParam/WXUploadProductInfoRecommendParam.cs
T

71 lines
2.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Param.WXParam
{
public class WXUploadProductInfoRecommendParam
{
// 查询返回值
public int? code { get; set; } // 0
public string productId { get; set; } // 10000959492675
public RecommendProductInfoParam productInfo { get; set; }
public List<int> predictTypeList { get; set; } = new List<int> { 5, 4, }; // 此处是草稿箱查询。如果是新建商品,设置productId为 null,此处填写 5, 4, 2
public int? requestSource { get; set; } = 2;
// 查询返回值
public List<modelVersionResult> modelVersions { get; set; }
// 查询返回值
public List<modelStatusResult> modelStatuses { get; set; }
}
public class modelStatusResult
{
public int? predictType { get; set; } // 4,
public int? statusCode { get; set; } // 0,
public string statusMsg { get; set; } // "成功推荐 6 个属性"
}
public class modelVersionResult
{
public int? predictType { get; set; } // 4,
public string modelVersion { get; set; } // "v251208"
}
public class RecommendProductInfoParam
{
public string title { get; set; } // "诺特兰德乳清蛋白粉增肌粉男健身分离水解蛋白质粉正品红桶"
public List<string> headImg { get; set; } // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/6a25418f000c37e41fe662b881ad1b15000000a100004f50", ...],
public List<categoryParam> category { get; set; }
public string brandId { get; set; } // "2100000000"
public productDetailParam detail { get; set; }
// 查询返回值
public List<RecommendProductInfoParamResult> param { get; set; }
}
public class RecommendProductInfoParamResult
{
public List<RecoummendCategoryResult> categorys { get; set; } = new List<RecoummendCategoryResult>();
}
public class RecoummendCategoryResult
{
public string name { get; set; } // "单件净含量",
public int? catType { get; set; } // 7,
public RecoummendCatInfoResult catInfo { get; set; }
}
public class RecoummendCatInfoResult
{
public int? isRequired { get; set; } // 1,
public int? isCustomize { get; set; } // 0,
public int? inputType { get; set; } // 7
}
}