using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AllBase.Model.Param.WXParam { public class WXUploadProductParam { public int? from { get; set; } = 2; // 2, public WXProductParam product { get; set; } = new WXProductParam(); public int? type { get; set; } = 0; public bool? listingFlag { get; set; } = true; public bool? skipCheckAttr { get; set; } = true; public sessionInfoParam sessionInfo { get; set; } = new sessionInfoParam(); } public class sessionInfoParam { //"1767692870470-ea4c0227-4579-4647-813b-7f4e8a190ad6" public string sessionId { get; set; } = (long)(DateTime.Now - TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1))).TotalMilliseconds + "-" + Guid.NewGuid().ToString(); } public class WXProductParam { public productKeyParam productKey { get; set; } = new productKeyParam(); public int? status { get; set; } // 5, public int? editStatus { get; set; } // 4, public string auditReason { get; set; } = ""; public auditResultInfoParam auditResultInfo { get; set; } = new auditResultInfoParam(); public productInfoParam info { get; set; } = new productInfoParam(); public List productSkus { get; set; } = new List(); public int? categoryType { get; set; } = 2; public bool? isGoodsSpecialCategory { get; set; } = true; } public class productSkuParam { public string __skuKey { get; set; } // "尺码.M_颜色.蓝色", public string __skuTitle { get; set; } // "蓝色 M", public bool? __skuSelected { get; set; } = true; public skuKeyParam skuKey { get; set; } = new skuKeyParam(); public string skuId { get; set; } // "6134573242", public productSkuInfoParam productSkuInfo { get; set; } = new productSkuInfoParam(); public int? status { get; set; } = 5; } public class productSkuInfoParam { public string thumbImg { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c85e9000a3bff29d22878fedda00b000000a000004f50", public int? salePrice { get; set; } // 10000, public string skuCode { get; set; } = ""; public string barCode { get; set; } = ""; public stockInfoParam stockInfo { get; set; } = new stockInfoParam(); public saleParamParam saleParam { get; set; } = new saleParamParam(); public skuDeliverInfoParam skuDeliverInfo { get; set; } = new skuDeliverInfoParam(); } public class skuDeliverInfoParam { public int? stockType { get; set; } = 0; public int? fullPaymentPresaleDeliveryType { get; set; } = 0; public string presaleBeginTime { get; set; } = "0"; public string presaleEndTime { get; set; } = "0"; public int? spotDeliveryTime { get; set; } = 1; public string fullPaymentPresaleDeliveryTime { get; set; } = "0"; public int? spotAfterPresaleEnd { get; set; } = 0; } public class saleParamParam { /// /// 第一个参数为sku spec类别 categoryKeyParam /// 第二个参数为sku spec数值 categoryValueParam /// public List categorys { get; set; } } public class categoryKeyParam { public bool? isCustomize { get; set; } // true, public bool? isMainSale { get; set; } // true, public string name { get; set; } // "颜色", public int? id { get; set; } // 3, public string catId { get; set; } // "颜色", public int? value { get; set; } // 0, public string label { get; set; } // "自定义规格", public int? priority { get; set; } // 1, public skuCatInfoParam catInfo { get; set; } // { "isCustomize": 1 }, // 自定义属性才有 public int? catType { get; set; } // 8 //自定义属性才有 //以下自定义属性没有 public string type { get; set; } // "select_one", public string hint { get; set; } // "", public string remark { get; set; } // "", public bool? appendAllowed { get; set; } // true, public releaseParam normalRelease { get; set; } // { "ruleType": 2 }, public releaseParam quickRelease { get; set; } // { "ruleType": 0 }, public bool? isRequired { get; set; } // false, public bool? display { get; set; } // true, public string data { get; set; } // "", public int? weight { get; set; } // 0, public decimal? key { get; set; } // 0.3529221028790839, public List selectList { get; set; } public string unit { get; set; } // "", public string unitValue { get; set; } // "", public bool? show { get; set; } // false, public string initData { get; set; } // "" } public class categoryValueParam { public string catId { get; set; } // "1767670333303", public string name { get; set; } // "黑色", public string fCatId { get; set; } // "2000000000006", public string catType { get; set; } // 0, public string brandCat { get; set; } // "0", public categoryValueCatInfo catInfo { get; set; } public string desc { get; set; } = ""; public int? priority { get; set; } = 1; public string createTime { get; set; } = "0"; public string updateTime { get; set; } = "0"; public int? version { get; set; } = 0; public string auditId { get; set; } = "0"; public bool? leaf { get; set; } = false; public int? state { get; set; } = 0; public string tips { get; set; } = ""; public string detail { get; set; } = ""; public string thumbImg { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c85e9000a3bff29d22878fedda00b000000a000004f50", public string skuNameValue { get; set; } = "黑色"; } public class categoryValueCatInfo { public List businessInfoList { get; set; } = new List(); public int? isCustomize { get; set; } = 0; public int? editByUser { get; set; } = 1; public int? isRequired { get; set; } = 0; public int? specType { get; set; } = 0; public string specTypeDesc { get; set; } = ""; public string attrTemplateId { get; set; } = "0"; public string attrTemplateName { get; set; } = ""; public int? maxAttrNum { get; set; } = 0; public int? catLevel { get; set; } = 0; public int? highestPriceFixing { get; set; } = 0; public string wording { get; set; } = ""; public string description { get; set; } = ""; public int? maxProductNum { get; set; } = 0; public string qualification { get; set; } = ""; public string productQualification { get; set; } = ""; public string quaNeedAudit { get; set; } = ""; public int? maxQualificationImg { get; set; } = 0; public long? catGroup { get; set; } // 4294967295, public string qualificationId { get; set; } = "0"; public int? qualificationType { get; set; } = 0; public int? productQualificationType { get; set; } = 0; public string productQualificationId { get; set; } = "0"; public bool? isVirtualGoods { get; set; } = false; public string limit { get; set; } = "0"; public int? inputType { get; set; } = 0; public int? componentCatGroup { get; set; } = 0; public int? isHide { get; set; } = 0; public bool? onlyWriteOffInShop { get; set; } = false; } public class skuSelectParam { public string label { get; set; } // "XS", public string value { get; set; } // "XS" } public class skuCatInfoParam { public int? isCustomize { get; set; } // 1 } public class stockInfoParam { public int? stockNum { get; set; } // 5 } public class skuKeyParam { public string skuId { get; set; } // "6134573242" public productKeyDetailParam productKey { get; set; } } public class productKeyDetailParam { public string productId { get; set; } // "10000408181873", public string outProductId { get; set; } = ""; public string appid { get; set; } = ""; public string originProductId { get; set; } = "0"; public int? productKeyType { get; set; } = 0; public int? stockType { get; set; } = 0; public string stockTypeId { get; set; } = ""; public string promoterKey { get; set; } = ""; } public class productInfoParam // info { public List headImg { get; set; } = new List(); // [ "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c7f5f000d23e709f79176079a1715000000a000004f50" ...], public List category { get; set; } = new List(); public List param { get; set; } = new List(); public List productSaleAttrs { get; set; } = new List(); public List shopcatId { get; set; } = new List(); public List qualificationUrl { get; set; } = new List(); public List thirdCategoryHistories { get; set; } = new List(); public List headVideoInfo { get; set; } = new List(); public List labels { get; set; } = new List(); public List qualificationList { get; set; } = new List(); public List productHeadimgInfo { get; set; } public List deliverAcctType { get; set; } = new List(); public List headImgInfos { get; set; } public List iconTags { get; set; } = new List(); public List orderIconTags { get; set; } = new List(); public string title { get; set; } // "中老年妈妈牛仔阔腿裤2025秋冬季新款女士显瘦高腰宽松直筒牛仔裤", public string subTitle { get; set; } = ""; // "", public string brand { get; set; } // "", public string model { get; set; } = ""; // "", public productDetailParam detail { get; set; } /// /// 品牌编号 /// //public string brandId { get; set; } = "2100000000"; // public long? brandId { get; set; } = 2100000000; public skuIdListParam skuIdList { get; set; } public skuListParam skuList { get; set; } public recommendCategoryParam recommendCategory { get; set; } public string listingTime { get; set; } // "1767693374", public string totalStockNum { get; set; } // "0", public serviceDescParam serviceDesc { get; set; } /// /// 运费信息 /// public expressInfoParam expressInfo { get; set; } public string totalSoldNum { get; set; } = "0"; public string qualificationWording { get; set; } = ""; public string appidForMedia { get; set; } = ""; public snapshotInfoParam snapshotInfo { get; set; } public int? shopcatVersion { get; set; } = 0; public string totalOrderNum { get; set; } = "0"; public string totalVisitNum { get; set; } = "0"; public int? uploadSource { get; set; } = 6; public spuLimitedParam spuLimited { get; set; } public int? originUploadSource { get; set; } = 6; public int? virtualType { get; set; } = 2; public int? productType { get; set; } = 1; /// /// extCode 货号 /// public string spuCode { get; set; } = ""; public int? asyncUpproductRet { get; set; } = 0; public int? illegalRecordId { get; set; } = 0; public string headImage { get; set; } = ""; public string componentUin { get; set; } = "0"; public string copyFromSpuId { get; set; } = "0"; public int? deliverMethod { get; set; } = 0; public int? presaleTag { get; set; } = 0; public int? presaleTagType { get; set; } = 0; public int? maxPresaleEndTime { get; set; } = 0; public extraServiceParam extraService { get; set; } /// /// 售后信息 /// public afterSaleInfoParam afterSaleInfo { get; set; } public int? lastRefundOrderDays { get; set; } = 0; public string nodeCatId { get; set; } // "547705", public sizeChartInfoParam sizeChartInfo { get; set; } = new sizeChartInfoParam(); public string lastEditDraftTime { get; set; } // "1767693275"; public customConfigParam customConfig { get; set; } = new customConfigParam(); public string updateStatusTime { get; set; } = "0"; /// /// 短标题 /// public string shortTitle { get; set; } // "显瘦高腰中老年宽松牛仔裤", public int? barCodeType { get; set; } = 0; public string originNodeCatId { get; set; } // "547705", public int? changeCatLevel { get; set; } = 0; public int? releaseMode { get; set; } = 0; public bool? isDuplicatedInShop { get; set; } = false; /// /// ai短标题 /// public string aiGenShortTitle { get; set; } // "显瘦高腰中老年宽松牛仔裤", public bool? empty { get; set; } = false; public string uniqueId { get; set; } // "4330209544501837823", public string titleUtf8Token { get; set; } = ""; public bool? hideInWindow { get; set; } = false; public bool? canGivePresent { get; set; } = false; public bool? canGenOrder { get; set; } = false; public int? presentPriceLimit { get; set; } = 0; public bool? showPresentBtn { get; set; } = false; public string canntGivePresnetMsg { get; set; } = ""; public string canntGenOrderMsg { get; set; } = ""; public bool? canAddShopBag { get; set; } = false; public bool? canGiveGroupPresent { get; set; } = false; public bool? presentNeedSelectSku { get; set; } = true; public givePresentInfoParam givePresentInfo { get; set; } = new givePresentInfoParam(); public bool? hideBottomBar { get; set; } = false; public bool? canAddUserFavory { get; set; } = false; public string extendAuditData { get; set; } = ""; public int? consumeStockType { get; set; } = 0; public int? auditFromPersonalTrans { get; set; } = 0; public bool? isClipEditGray { get; set; } = false; public List promotingVideoInfos { get; set; } = new List(); public timingOnsaleInfoParam timingOnsaleInfo { get; set; } public leagueItemInfoParam leagueItemInfo { get; set; } } public class timingOnsaleInfoParam { public int? status { get; set; } = 0; public int? isHidePrice { get; set; } = 0; } public class leagueItemInfoParam { public int? itemSwitch { get; set; } = 0; public int? itemRatio { get; set; } = 0; public int? headSupplierPublicItemSwitch { get; set; } = 0; public int? headSupplierPublicItemServiceRatio { get; set; } = 0; } public class givePresentInfoParam { public bool? supportPresentCard { get; set; } = false; public bool? canChangeSkus { get; set; } = false; public int? usePresentHeadImg { get; set; } = 0; } public class customConfigParam { public List customType { get; set; } = new List(); public List customTextInputTypes { get; set; } = new List(); public List descImgList { get; set; } = new List(); public int? customTextMaxLength { get; set; } = 0; public int? customTextInputType { get; set; } = 0; public int? customTextDirection { get; set; } = 0; public int? customTextFontSize { get; set; } = 0; public string customTextColor { get; set; } = ""; public bool? openCustom { get; set; } = false; public string deliveryTime { get; set; } = "0"; public int? previewType { get; set; } = 0; } public class sizeChartInfoParam { public List specificationList { get; set; } = new List(); public bool? enable { get; set; } = false; public string templateId { get; set; } = "0"; public string title { get; set; } = ""; public string comment { get; set; } = ""; } public class afterSaleInfoParam { /// /// 售后服务地址Id /// public string afterSaleAddressId { get; set; } // "56417904002" } public class extraServiceParam { public int? sevenDayReturn { get; set; } = 1; public int? payAfterUse { get; set; } = 1; public int? freightInsurance { get; set; } = 1; // 运费险 public int? fastRefund { get; set; } = 1; // 快速退款 public int? damageGuarantee { get; set; } = 0; public int? fakeOnePayFour { get; set; } = 0; public int? refundOrderTime { get; set; } = 0; public int? deliverAfterCheck { get; set; } = 0; public int? exchangeSupport { get; set; } = 1; public int? buyWithConfidence { get; set; } = 0; public int? seniorFastRefund { get; set; } = 0; public int? seniorCustomerService { get; set; } = 0; public int? seniorFreeReturn { get; set; } = 0; public int? seniorPlatformSupport { get; set; } = 0; public int? seniorFastExchange { get; set; } = 0; public int? elderlyUserFastRefund { get; set; } = 0; public int? elderlyUserCustomerService { get; set; } = 0; public int? elderlyUserFreeReturn { get; set; } = 0; public int? elderlyUserPlatformSupport { get; set; } = 0; public int? elderlyUserFastExchange { get; set; } = 0; public int? newUserFastRefund { get; set; } = 0; public int? newUserCustomerService { get; set; } = 0; public int? newUserFreeReturn { get; set; } = 0; public int? newUserPlatformSupport { get; set; } = 0; public int? newUserFastExchange { get; set; } = 0; } public class spuLimitedParam { public int periodType { get; set; } = 0; public int limitedBuyNum { get; set; } = 0; public int createTime { get; set; } = 0; public int updateTime { get; set; } = 0; } public class snapshotInfoParam { public string snapshotId { get; set; } // "1115465280", public string auditId { get; set; } // "8248460949" } public class expressInfoParam { /// /// 运费模板 /// public string templateId { get; set; } // "763996138004", //public string weight { get; set; } = "0"; } public class serviceDescParam { public List serviceList { get; set; } = new List(); public string desc { get; set; } = ""; } /// /// 是否使用ai推荐类目信息,新建商品进入的照抄 /// public class recommendCategoryParam { public bool? isAccepted { get; set; } = false; public List categoryNames { get; set; } = new List(); public string recommendSource { get; set; } = "none"; public string interfaceName { get; set; } = ""; public int? useNewInterface { get; set; } = 0; } public class skuListParam { public skuInfoParam skuInfo { get; set; } public int? minPrice { get; set; } // 10000, public int? maxPrice { get; set; } // 10000, public int? discountedPrice { get; set; } = 0; public bool? isDiscounted { get; set; } = false; public int? estimatePrice { get; set; } = 0; public int? leagueDiscountedPrice { get; set; } = 0; public string estimateCouponId { get; set; } = "0"; public string minPriceWording { get; set; } = ""; public string buyButtonWording { get; set; } = ""; public string microMemberDiscountedPrice { get; set; } = "0"; public int? estimatePricePriceType { get; set; } = 0; public string withoutMicroMemberPriceWording{ get; set; } = ""; public int? originPrice { get; set; } = 0; public int? discountRate { get; set; } = 0; public string estimateBatchId{ get; set; } = ""; public int? estimateCouponPromoteType { get; set; } = 0; public string estimatePlatformDiscountCouponId{ get; set; } = "0"; public int? estimatePlatformDiscountCouponPromoteType { get; set; } = 0; public int? referencePrice { get; set; } = 0; public int? originMaxPrice { get; set; } = 0; public string bulkbuyDiscountedPrice{ get; set; } = "0"; public string bulkbuyActivityId{ get; set; } = "0"; public string estimateCashCouponDiscountCouponId{ get; set; } = ""; public int? subsidyQualificationStatus { get; set; } = 0; public int? subsidyStatus { get; set; } = 0; public string subsidySubPriceWording{ get; set; } = ""; public string subsidyBannerWording{ get; set; } = ""; public string estimateSubsidyRuleId{ get; set; } = "0"; public string subsidyLocationWording{ get; set; } = ""; public string subsidyDetailWording{ get; set; } = ""; public string preEstimatePrice{ get; set; } = "0"; public string bulkbuyNeedGap{ get; set; } = "0"; public int? bulkbuyNeedProductCnt { get; set; } = 0; public bool? canUseSubsidy{ get; set; } = false; public string bulkbuyQuotaId{ get; set; } = ""; public int? estimateCashCouponPromoteType { get; set; } = 0; public string minPriceSkuId{ get; set; } = "0"; public int? bulkbuyNeedPeopleCnt { get; set; } = 0; public int? minPriceType { get; set; } = 0; public string canSubsidyLocationWording{ get; set; } = ""; public int? subsidyType { get; set; } = 0; public int? estimateCashCouponSecondBusinessScene { get; set; } = 0; public string estimateActivityDiscountedPrice{ get; set; } = "0"; public string estimateActivityId{ get; set; } = "0"; public string estimateCashCouponDiscountPrice{ get; set; } = "0"; public string estimateFavorCouponId{ get; set; } = "0"; public string defaultSelectedSkuId{ get; set; } = "0"; public int? detailTagType { get; set; } = 0; } public class skuInfoParam { public List skuActivityInfos { get; set; } = new List(); public string skuId { get; set; } // "6134651417", public int? price { get; set; } // 10000, public string skuSnapId { get; set; } = "0"; // "0", public bool? isDiscounted { get; set; } = false; // false, public int? discountedPrice { get; set; } = 0; // 0, public int? estimatePrice { get; set; } = 0; // 0, public string estimateCouponId { get; set; } = "0"; // "0", public bool? canUseCoupon { get; set; } = false; // false, public int? marketPrice { get; set; } = 0; // 0, public int? priceType { get; set; } = 0; // 0, public string microMemberDiscountedPrice { get; set; } = "0"; // "0", public bool? runOutStock { get; set; } = false; // false, public int? originPrice { get; set; } = 0 ;// 0, public int? discountRate { get; set; } = 0; // 0, public string estimateBatchId { get; set; } = ""; // "", public int? estimateCouponPromoteType { get; set; } = 0;// 0, public string estimatePlatformDiscountCouponId { get; set; } = "0"; // "0", public int? estimatePlatformDiscountCouponPromoteType { get; set; } = 0;// 0, public int? referencePrice { get; set; } = 0; // 0, public string priceWording { get; set; } = ""; // "", public string bulkbuyDiscountedPrice { get; set; } = "0"; // "0", public string bulkbuyActivityId { get; set; } = "0"; // "0", public string estimateCashCouponDiscountCouponId { get; set; } = ""; // "", public string estimateActivityDiscountedPrice { get; set; } = "0"; // "0", public string estimateActivityId { get; set; } = "0"; // "0", public string estimateCashCouponDiscountPrice { get; set; } = "0"; // "0", public string estimateSubsidyRuleId { get; set; } = "0"; // "0", public string barCode { get; set; } = ""; // "", public string preEstimatePrice { get; set; } = "0"; // "0", public bool? canUseSubsidy { get; set; } = false; // false, public int? estimateCashCouponPromoteType { get; set; } = 0; // 0, public int? estimatePriceType { get; set; } = 0; // 0, public int? subsidyType { get; set; } = 0; // 0, public bool? isNewBulkbuy { get; set; } = false; // false, public int? estimateCashCouponSecondBusinessScene { get; set; } = 0; // 0, public string estimateFavorCouponId { get; set; } = "0"; // "0", public int? detailTagType { get; set; } = 0; // 0, public bool? limitedDiscountNeedReplaceStock { get; set; } = false; // false, public string limitedDiscountStock { get; set; } = "0"; // "0" } public class skuIdListParam { public List skuIds { get; set; } // [ "6134651417", "6134573242" ] } public class productDetailParam { public List detailImg { get; set; } // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c863e00022b1f09b35b0e7ad91715000000a000004f50", ...] public List detailVideos { get; set; } = new List(); public List detailVideoInfo { get; set; } = new List(); public List carouselImg { get; set; } = new List(); public string desc { get; set; } = ""; // "" } public class headImgInfoParam { public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c7f5f000d23e709f79176079a1715000000a000004f50", public int? imgWidth { get; set; } // 800, public int? imgHeight { get; set; } // 800 } public class productHeadimgInfoParam { public List colors { get; set; } = new List(); public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c7f5f000d23e709f79176079a1715000000a000004f50", public mainColorParam mainColors { get; set; } } public class mainColorParam { public int? red { get; set; } // 80, public int? green { get; set; } // 78, public int? blue { get; set; } // 77 } public class productSaleAttrParam { public string key { get; set; } // "颜色", public List items { get; set; } // 最后要补一个空的 public bool hasImg { get; set; } } public class productSaleAttrItemParam { public string value { get; set; } // "蓝色", public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c85e5000dea52198a3d9c98a71715000000a000004f50" } public class propParam { public List categorys { get; set; } } public class categoryPropParam { public string auditId { get; set; } // "0", public string bizuin { get; set; } // "0", public string brandCat { get; set; } // "0", public string catId { get; set; } // "0", public int? catType { get; set; } // 7, public string createTime { get; set; } // "0", public string desc { get; set; } // "", public string fCatId { get; set; } // "0", public string name { get; set; } // "款式", public int? priority { get; set; } // 0, public string updateTime { get; set; } // "0", public int? version { get; set; } // 0, public catInfoParam catInfo { get; set; } // { "inputType": 1, "isRequired": 1, "isCustomize": 0 } } public class catInfoParam { public int? inputType { get; set; } // 1, public int? isRequired { get; set; } // 1, public int? isCustomize { get; set; } // 0 } public class categoryParam { public string id { get; set; } // "10000672", public string name { get; set; } // "裤子", public string fId { get; set; } // "10000113", public int? level { get; set; } // 3, public int? disableScene { get; set; } // 0, public bool? leaf { get; set; } // false, public int? state { get; set; } // 0, public string tips { get; set; } // "", public string detail { get; set; } // "", public string catId { get; set; } // "10000672", public string fCatId { get; set; } // "10000113" public bool? catAuth { get; set; } // true public categoryInfoParam catInfo { get; set; } } public class categoryInfoParam { public int? catLevel { get; set; } // 3, public bool? onlyWriteOffInShop { get; set; } // false, public bool? isVirtualGoods { get; set; } // false, public long? highestPriceFixing { get; set; } // 250000, public enterpriseAuditInfoParam enterpriseAuditInfo { get; set; } public allAttrParam productAttr { get; set; } public allAttrParam saleAttr { get; set; } public allAttrParam sizeAttr { get; set; } public presaleDataParam presaleData { get; set; } public List confirmReceiptOptions { get; set; } } public class presaleDataParam { public bool? presaleSwitch { get; set; } // true, public deliveryParam deliveryAfterPresale { get; set; } // { "presaleCycleSpan": 15, "minDelayDay": 2, "maxDelayDay": 3 }, public deliveryParam deliveryAfterPay { get; set; } // { "minDelayDay": 3, "maxDelayDay": 15 }, public int? dsrThreshold { get; set; } // 400, public int? productPriceThreshold { get; set; } // 1500, public int? dsrLogisticsExperienceThreshold { get; set; } // 400, public bool? hasHotBrand { get; set; } // false } public class deliveryParam { public int? presaleCycleSpan { get; set; } // 15, public int? minDelayDay { get; set; } // 2, public int? maxDelayDay { get; set; } // 3 } public class allAttrParam { public List attr { get; set; } public bool? enable { get; set; } // false } public class attrParam { public string name { get; set; } // "弹力", // "面料材质成分含量" public string type { get; set; } // "select_one", // "decimal4_unit" public string value { get; set; } // "无弹性;有弹性;微弹力;中弹力;高弹力", // "%" public bool? isRequired { get; set; } // true, public string hint { get; set; } // "", public string remark { get; set; } // "", public bool? appendAllowed { get; set; } // false, public attractFactorDisplayParam attractFactorDisplay { get; set; } public releaseParam normalRelease { get; set; } // { "ruleType": 2 }, // { "ruleType": 1 }, public releaseParam quickRelease { get; set; } // { "ruleType": 0 } } public class attractFactorDisplayParam { public string prefix { get; set; } // "", public string postfix { get; set; } // "" } public class enterpriseAuditInfoParam { public int? maxQualificationImg { get; set; } // 10, public int? productQualificationType { get; set; } // 2, public int? qualificationType { get; set; } // 2, public int? productTitleQualificationType { get; set; } // 2, public int? productImgQualificationType { get; set; } // 2, public int? productDescQualificationType { get; set; } // 2, public List productQualificationList { get; set; } } public class productQualificationParam { public bool? needToApply { get; set; } // true, public string id { get; set; } // "50000043", public string tips { get; set; } // "当商品信息涉及特殊材质:真丝、蚕丝、香云纱、羊绒、羊毛、羊羔毛、羽绒、皮草等,需上传含CMA/CNAS认证标识的特殊材质质检报告或商品吊牌实拍图(二选一在相应资质入口上传)", public int? type { get; set; } // 2, public string name { get; set; } // "特殊材质质检报告", public int? showCertForProduct { get; set; } // 0, public releaseParam normalRelease { get; set; } // { "ruleType": 2 }, public releaseParam quickRelease { get; set; } // { "ruleType": 0 } } public class releaseParam { public int? ruleType { get; set; } // 2 // 0 } public class auditResultInfoParam { public string auditId { get; set; } // "8248460949", public int? auditStatus { get; set; } // 3, public auditResultReasonParam auditResultReason { get; set; } public long? auditTimestamp { get; set; } // 1767693373, public long? submitTimestamp { get; set; } // 1767693275, public string quaInspectId { get; set; } // "0", public long? quaInspectTimestamp { get; set; } // 0, public string quaInspectStatus { get; set; } // "0" } public class auditResultReasonParam { public List itemList { get; set; } } public class ReasonItemParam { public string key { get; set; } // "reason" public string value { get; set; } // "" } public class productKeyParam { /// /// 商品id(保存草稿箱的时候才能获取到,提交上架的时候需要填写) /// public string productId { get; set; } // "10000408181873" } }