模拟提交商品,测试最多能传50件左右就会出限制

This commit is contained in:
wule committed 2025-09-15 10:36:48 +08:00
1 parent 6639224771
commit 6509233208
37 files changed
+2576 -450

No files matched your search

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Param.PDDProdParam
{
public class PDDProdDecorationCommitParam
{
public long? goods_id { get; set; }
public long? goods_commit_id { get; set; }
public List<decoration_floor_param> decoration_floor_list { get; set; }
public string preview_key { get; set; }
}
public class decoration_floor_param
{
public string type { get; set; }
public long? floor_id { get; set; } = null;
public List<decoration_content_param> content_list { get; set; }
}
public class decoration_content_param
{
public string text { get; set; }
public string img_url { get; set; }
public int? height { get; set; }
public int? width { get; set; }
public text_module_detail_param text_module_details { get; set; }
public object file_id { get; set; }
}
public class text_module_detail_param
{
public int? font_size { get; set; }
public int font_family { get; set; }
public string align { get; set; }
public string background_color { get; set; }
public string font_color { get; set; }
}
}
@@ -0,0 +1,259 @@
using AllBase.Model.Result.PDDResult;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Param.PDDProdParam
{
public class PDDProductUploadParam
{
public long? goods_id { get; set; }
public string goods_commit_id { get; set; }
public List<object> goods_commit_check { get; set; } = new List<object>();
public List<object> reject_reason { get; set; } = new List<object>();
public string reject_status { get; set; } = "";
public int? check_status { get; set; } = 9;
public string goods_name { get; set; }
public List<object> carousel_video { get; set; } = new List<object>();
public List<object> detail_video { get; set; } = new List<object>();
public string goods_desc { get; set; }
public string warm_tips { get; set; } = "";
public int? cat_id { get; set; }
public List<string> cats { get; set; }
public string image_url { get; set; } = "";
public object oversea_goods { get; set; } = new object();
public object spu { get; set; } = new object();
public isbn_properties_related_param isbn_properties_related { get; set; }
public List<object> propertys_standard { get; set; }
/// <summary>
/// 是否草稿
/// </summary>
public bool? is_draft { get; set; } = false;
public string goods_name_prefix { get; set; } = "";
public string name_prefix { get; set; } = "";
public object size_spec_id { get; set; }
public object is_gold_price_matched { get; set; }
public bool hasBatchEnter { get; set; } = false;
public instruction_vo_item instruction_vo { get; set; }
public List<object> ai_carousel_gallery { get; set; } = new List<object>();
public List<object> explanation_video { get; set; } = new List<object>();
public List<object> tag_price_gallery { get; set; } = new List<object>();
public List<object> ingredient_gallery { get; set; } = new List<object>();
public List<object> nutrition_gallery { get; set; } = new List<object>();
public List<object> ai_goods_video { get; set; } = new List<object>();
public int? third_type { get; set; } = 0;
public List<int?> cat_ids { get; set; }
public int? bad_fruit_claim { get; set; } = 0;
public List<object> booking_notes { get; set; } = new List<object>();
public object instruction_template_id { get; set; }
public bool? first_upload_carousel { get; set; } = true;
public int? propertys_tid { get; set; } // 手套 27715 获取接口Get方法:https://mms.pinduoduo.com/draco-ms/mms/template/mall?catId=17031&goodsCommitId=168372796489&goodsId=816294785499
public bool? propertys_edit_search_spu { get; set; } = false;
public long? service_time { get; set; }
public int? electric_status { get; set; } = 0;
public bool? isGoodsLock { get; set; } = false;
public bool? imageEnhanceGray { get; set; } = false;
public bool? materialModalAbGray { get; set; } = true;
public bool? uploadDragAB { get; set; } = false;
public bool? materialReplaceTagGray { get; set; } = true;
public bool? hide_apply { get; set; } = false;
public bool? showGoodsInstruction { get; set; } = true;
public bool? decorationCanEdit { get; set; } = true;
public bool? must_have_spu { get; set; } = false;
public bool? can_not_change_cat { get; set; } = false;
public bool? can_not_change_spu { get; set; } = false;
public bool? is_transfer_spu { get; set; } = false;
public List<title_keyword_param> title_keywords { get; set; }
public object title_recommend { get; set; }
public string prefillWhitePic { get; set; }
public string tiny_name { get; set; }
public List<PDDProdfloorItem> decorationDetail { get; set; }
public string decorationPreview { get; set; }
public object size_parent_spec_id { get; set; }
public int? is_shop { get; set; } = 0;
public int? goods_type { get; set; } = 1;
public int? invoice_status { get; set; } = 0;
public int? privacy_delivery { get; set; } = 0;
public object invoice_mode { get; set; }
public int? zhi_huan_bu_xiu { get; set; } = 0;
public int? quan_guo_lian_bao { get; set; } = 0;
public int? second_hand { get; set; } = 0;
public bool? is_two_num_group { get; set; } = false;
public int? is_pre_sale { get; set; } = 0;
public string pre_sale_time { get; set; }
public string country_id { get; set; } = "0";
public int? origin_country_id { get; set; } = 0;
public string warehouse { get; set; }
public string customs { get; set; }
public int? is_customs { get; set; } = 0;
public long? shipment_limit_second { get; set; } = 172800;
public object delivery_type { get; set; }
public long? cost_template_id { get; set; } //136204643207510;
public string weight { get; set; } = "";
public bool? is_all_weight_same { get; set; } = true;
public group_item groups { get; set; }
public int? is_folt { get; set; } = 0;
public int? is_refundable { get; set; } = 1;
public int? thawed_refund { get; set; } = 0;
public int? damage_claim { get; set; } = 0;
public int? lack_of_weight_claim { get; set; } = 0;
public int? goods_certificate { get; set; } = 0;
public int? goods_pattern { get; set; } = 8;
public int? customizable { get; set; } = 0;
public object local_service_id_list { get; set; }
public int? shop_group_id { get; set; } = 0;
public schedule_sale_param schedule_sale { get; set; }
public List<object> card_verification_list { get; set; } = new List<object>();
public bool? is_spring_festival_open_tag { get; set; } = false;
public List<object> transport_type_list { get; set; } = new List<object>();
public int? is_refundable_fifteen_day { get; set; } = 0;
public int? is_warranty_one_year { get; set; } = 0;
public extend_warranty_dto_param extend_warranty_dto { get; set; }
public string home_delivery_template_name { get; set; } = "";
public object invoice_mode_sub_type { get; set; }
public int? is_certificate_provide { get; set; } = 0;
public bool? isAddLocalCityGoods { get; set; } = false;
public int? is_customized { get; set; } = 0;
public bool? isCoupon { get; set; } = false;
public bool? allow_purchase_info_supply { get; set; } = false;
public int? effect_logistics_weight_limit { get; set; } = 20000;
public int? same_city_template_id { get; set; } = 0;
public int? is_default_template_id { get; set; } = 1;
public object cost_template_error { get; set; } = "";
public int? allergy_refund { get; set; } = 0;
public int? is_wp_service { get; set; } = 0;
public int? is_size_change_casually { get; set; } = 0;
public int? origin_is_pre_sale { get; set; } = 0;
public List<object> goods_srv_templates { get; set; } = new List<object>();
public bool? is_only_for_remote_area { get; set; } = false;
public bool? default_template_gray { get; set; } = true;
public int? shipment_limit_second_origin_value { get; set; } = 0;
public object elec_goods_attributes { get; set; }
public int? delivery_one_day { get; set; } = 0;
public int? is_sku_shipment { get; set; } = 0;
public object mai_jia_zi_ti { get; set; }
public object shang_men_an_zhuang { get; set; }
public object song_huo_an_zhuang { get; set; }
public object song_huo_ru_hu { get; set; }
public List<object> qualification_id_list { get; set; } = new List<object>();
public List<sku_param> skus { get; set; }
public string market_price_in_yuan { get; set; }
public int? market_price { get; set; }
public string out_goods_sn { get; set; } = "";
public int? dead_line_seconds { get; set; } = 86399;
public int? two_pieces_discount { get; set; } = 95;
public int? gold_price_template_id { get; set; } = 0;
public int? processing_charges { get; set; } = 0;
public string processing_charges_in_yuan { get; set; } = "0";
public int? processing_charges_type { get; set; } = 0;
public List<gallery_param> gallery { get; set; }
public int? is_sku_pre_sale { get; set; } = 0;
public int? is_group_pre_sale { get; set; } = 0;
public List<goods_property_param> goods_properties { get; set; }
public object is_goods_copy { get; set; }
public bool? is_auto_save { get; set; } = false;
public string validate_message { get; set; }
public string validate_message_v2 { get; set; }
/// <summary>
/// anti-content
/// </summary>
public string crawlerInfo { get; set; }
}
public class goods_property_param
{
public long? template_pid { get; set; }
public long? template_module_id { get; set; }
public int? ref_pid { get; set; }
public int? pid { get; set; }
public int? vid { get; set; }
public string value { get; set; }
public string value_unit { get; set; }
public string content { get; set; }
}
public class gallery_param
{
public string url { get; set; }
public int? type { get; set; }
public object file_id { get; set; }
}
public class extend_warranty_dto_param
{
public int? extend_warranty { get; set; } = 0;
}
public class schedule_sale_param
{
public int? sale_type { get; set; } = 0;
}
public class title_keyword_param
{
public string keyword { get; set; }
public string source { get; set; }
public bool? hot { get; set; }
public object rk { get; set; }
public object bad_keyword { get; set; }
public object good_tag_desc { get; set; }
public object bad_tag_desc { get; set; }
}
public class isbn_properties_related_param
{
public bool? isInit { get; set; } = true;
}
public class sku_param
{
public long? id { get; set; }
public int? limit_quantity { get; set; }
public string out_sku_sn { get; set; }
public int? is_onsale { get; set; }
public string multi_price_in_yuan
{
get { return (multi_price.ParseToInt() * 0.01).ParseToString(); }
set { }
}
public string price_in_yuan
{
get { return (price.ParseToInt() * 0.01).ParseToString(); }
set { }
}
public int? multi_price { get; set; }
public int? price { get; set; }
public int? quantity_delta { get; set; }
public string thumb_url { get; set; }
public int? weight { get; set; }
public List<spec_param> spec { get; set; }
public object oversea_sku { get; set; }
public string sku_srv_templates { get; set; }
public List<object> shipment_limit_second_list { get; set; }
public string sku69_code { get; set; }
}
public class spec_param
{
public long? parent_id { get; set; }
public string parent_name { get; set; }
public long? spec_id { get; set; }
public string spec_name { get; set; }
public object is_custom { get; set; }
}
}
@@ -9,7 +9,7 @@ namespace AllBase.Model.Result
/// <summary>
/// 选品数据库商品类
/// </summary>
public class TemuDBProduct
public class KJDDBProduct
{
public int id { get; set; }
public string from_shop_id { get; set; }
@@ -0,0 +1,65 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class PDDProductDecorationInfo
{
public long? goods_id { get; set; }
public long? goods_commit_id { get; set; }
public long? mall_id { get; set; }
public List<PDDProdfloorItem> floor_list { get; set; } = new List<PDDProdfloorItem>();
public long? create_time { get; set; }
public long? update_time { get; set; }
}
public class PDDProdfloorItem
{
public long? floor_id { get; set; }
public string key { get; set; }
public string type { get; set; }
public int? priority { get; set; }
public List<PDDProdContentItem> content_list { get; set; }
public object check_status { get; set; }
public object check_id { get; set; }
public object check_name { get; set; }
public object comment { get; set; }
public object if_have_template { get; set; }
public object floor_status { get; set; }
public object template_id { get; set; }
public object template_type { get; set; }
public object template_json { get; set; }
}
public class PDDProdContentItem
{
public string img_url { get; set; }
public long? file_id { get; set; }
public int? height { get; set; }
public int? width { get; set; }
public int? file_status { get; set; }
public object goods_id { get; set; }
public object goods_name { get; set; }
public object show_price { get; set; }
public object status { get; set; }
public object min_on_sale_group_price { get; set; }
public string text { get; set; }
public object hot_zone_list { get; set; }
public text_module_detail_item text_module_details { get; set; }
public object activity_sn { get; set; }
public object combine_buy_element_dtolist { get; set; }
}
public class text_module_detail_item
{
public int? font_size { get; set; }
public string font_color { get; set; }
public int font_family { get; set; }
public string align { get; set; }
public string background_color { get; set; }
}
}
@@ -60,12 +60,12 @@ namespace AllBase.Model.Result.PDDResult
public int? is_bangdan { get; set; }
public long? shipment_limit_second { get; set; }
public int? quick_refund { get; set; }
public groupsItem groups { get; set; }
public commit_extensionItem commit_extension { get; set; }
public List<galleryItem> galleries { get; set; }
public group_item groups { get; set; }
public commit_extension_item commit_extension { get; set; }
public List<gallery_item> galleries { get; set; }
public List<object> goods_commit_check { get; set; }
public mall_infoItem mall_info { get; set; }
public List<skuItem> sku { get; set; }
public mall_info_item mall_info { get; set; }
public List<sku_item> sku { get; set; }
public object reject_status { get; set; }
@@ -107,7 +107,7 @@ namespace AllBase.Model.Result.PDDResult
public int? customizable { get; set; }
public int? is_group_pre_sale { get; set; }
public object elec_goods_attributes { get; set; }
public schedule_saleItem schedule_sale { get; set; }
public schedule_sale_item schedule_sale { get; set; }
public object goods_trade_attr { get; set; }
public object goods_travel_attr { get; set; }
@@ -120,10 +120,10 @@ namespace AllBase.Model.Result.PDDResult
public object out_source_type { get; set; }
public object out_source_goods_id { get; set; }
public object is_all_weight_same { get; set; }
public object is_spring_festival_open_tag { get; set; }
public bool? is_spring_festival_open_tag { get; set; }
public int? two_pieces_discount { get; set; }
public instruction_voItem instruction_vo { get; set; }
public instruction_vo_item instruction_vo { get; set; }
public object local_service_id_list { get; set; }
public object shop_group_id { get; set; }
public object shop_group_name { get; set; }
@@ -133,7 +133,7 @@ namespace AllBase.Model.Result.PDDResult
public int? privacy_delivery { get; set; }
public object invoice_mode_sub_type { get; set; }
public bool? is_two_num_group { get; set; }
public extend_warranty_dtoItem extend_warranty_dto { get; set; }
public extend_warranty_dto_item extend_warranty_dto { get; set; }
public int? is_sku_shipment { get; set; }
public List<object> qualification_id_list { get; set; }
public int? is_certificate_provide { get; set; }
@@ -156,7 +156,7 @@ namespace AllBase.Model.Result.PDDResult
public bool? is_deposit { get; set; }
public object gold_price_template_id { get; set; }
public object gold_price_type { get; set; }
public object processing_charges { get; set; }
public int? processing_charges { get; set; }
public object processing_charges_type { get; set; }
public object is_gold_price_matched { get; set; }
public object shoes_template_id { get; set; }
@@ -179,7 +179,7 @@ namespace AllBase.Model.Result.PDDResult
public object check_type { get; set; }
}
public class groupsItem
public class group_item
{
public int? single_price { get; set; }
public int? group_price { get; set; }
@@ -187,13 +187,14 @@ namespace AllBase.Model.Result.PDDResult
public int? customer_num { get; set; }
public int? buy_limit { get; set; } //999999
public int? order_limit { get; set; } //999999
public object regular_limit { get; set; }
public string regular_limit { get; set; }
public object regular_limit_duration { get; set; }
public object min_num_of_order { get; set; }
public int? community_group_buying { get; set; } = 0;
}
public class commit_extensionItem
public class commit_extension_item
{
public int? id { get; set; }
public int? goods_commit_id { get; set; }
@@ -207,7 +208,7 @@ namespace AllBase.Model.Result.PDDResult
public object updated_at { get; set; }
}
public class galleryItem
public class gallery_item
{
public string url { get; set; }
public int? width { get; set; }
@@ -222,11 +223,11 @@ namespace AllBase.Model.Result.PDDResult
public object origin_url { get; set; }
}
public class mall_infoItem {
public class mall_info_item {
public string mall_name { get; set; }
}
public class skuItem
public class sku_item
{
public long? id { get; set; }
public long? sku_id { get; set; }
@@ -247,14 +248,14 @@ namespace AllBase.Model.Result.PDDResult
public object thumb_url_status { get; set; }
public object thumb_url_is_deleted { get; set; }
public int? quantity_delta { get; set; }
public List<specItem> spec { get; set; }
public List<spec_item> spec { get; set; }
public string out_sku_sn { get; set; }
public object batch_id { get; set; }
public int? priority { get; set; }
public int? ware_id { get; set; }
public object advice_price { get; set; }
public object length { get; set; }
public oversea_skuItem oversea_sku { get; set; }
public oversea_sku_item oversea_sku { get; set; }
public object cspu_id { get; set; }
public object child_skus { get; set; }
public long? ref_sku_commit_id { get; set; }
@@ -275,7 +276,7 @@ namespace AllBase.Model.Result.PDDResult
}
public class specItem
public class spec_item
{
public int? parent_id { get; set; }
public string parent_name { get; set; }
@@ -287,7 +288,7 @@ namespace AllBase.Model.Result.PDDResult
public object is_custom { get; set; }
}
public class oversea_skuItem
public class oversea_sku_item
{
public object specifications { get; set; }
public object measurement_code { get; set; }
@@ -296,7 +297,7 @@ namespace AllBase.Model.Result.PDDResult
public object record_id_list { get; set; }
}
public class schedule_saleItem
public class schedule_sale_item
{
public int? sale_type { get; set; }
public object sale_time_fixed { get; set; }
@@ -304,7 +305,7 @@ namespace AllBase.Model.Result.PDDResult
public object price_show { get; set; }
}
public class instruction_voItem
public class instruction_vo_item
{
public object template_id { get; set; }
public int? template_status { get; set; }
@@ -312,7 +313,7 @@ namespace AllBase.Model.Result.PDDResult
public object rejected_reason { get; set; }
}
public class extend_warranty_dtoItem
public class extend_warranty_dto_item
{
public int? extend_warranty { get; set; }
public object extend_warranty_year { get; set; }
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class PDDProductInfo
{
public PDDProductDetailInfo detail { get; set; }
public PDDProductDecorationInfo decoration { get; set; }
public PDDProductPropertyInfo property { get; set; }
}
}
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class PDDProductPropertyInfo
{
public List<goods_propertie_item> goods_properties { get; set; }
public object sku_properties { get; set; }
}
public class goods_propertie_item
{
public string name { get; set; }
public int? ref_pid { get; set; }
public List<value_item> values { get; set; }
}
public class value_item
{
public int? vid { get; set; }
public string value { get; set; }
public string unit { get; set; }
public string raw_value { get; set; }
}
}
@@ -0,0 +1,117 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class PDDProductTemplateInfo
{
public int? id { get; set; }
public int? source_template_id { get; set; }
public string name { get; set; }
public List<int?> cat_ids { get; set; }
public List<cat_item> cats { get; set; }
public int? dark_launch_type { get; set; }
public string dark_launch_rule { get; set; }
public int? dark_launch_rate { get; set; }
public List<object> dark_launch_option { get; set; }
public int? sort_order { get; set; }
public int? status { get; set; }
public int? input_max_spec_num { get; set; }
public bool choose_all_qualify_spec { get; set; }
public int? single_spec_value_num { get; set; }
public string spec_tip { get; set; }
public bool is_single_item { get; set; }
public int? channel { get; set; }
public int? type { get; set; }
public List<pdd_module_item> modules { get; set; }
public object spec_module { get; set; }
public bool? is_spec { get; set; }
public int? max_sku_num { get; set; }
public bool? custom_upload_pic { get; set; }
}
public class pdd_module_item
{
public int? id { get; set; }
public int? module_id { get; set; }
public int? sort_order { get; set; }
public int? status { get; set; }
public List<pdd_property_item> propertys { get; set; }
public int? type { get; set; }
}
public class pdd_property_item
{
public int? id { get; set; }
public string name_alias { get; set; }
public int? pid { get; set; }
public string value_unit { get; set; }
public int? value_precision { get; set; }
public string max_value{ get; set; }
public string min_value { get; set; }
public string top_tip { get; set; }
public string bottom_tip { get; set; }
public int? sort_order { get; set; }
public bool required { get; set; }
public int? required_type { get; set; }
public int? required_rule_type { get; set; }
public int? status { get; set; }
public int? show_type { get; set; }
public pdd_property_value_item values { get; set; }
public List<int?> value_ids { get; set; }
public int? control_type { get; set; }
public int? value_type { get; set; }
public int? choose_max_num { get; set; }
public int? parent_template_pid { get; set; }
public int? ref_pid { get; set; }
public object rule { get; set; }
public int? auto_compute_type { get; set; }
public bool? is_key { get; set; }
public bool? is_important { get; set; }
public int? value_source { get; set; }
public int? rule_property_type { get; set; }
public bool? is_editable { get; set; }
public bool? value_can_sort { get; set; }
public bool? show_feedback { get; set; }
public int? entity_type { get; set; }
public int? mask_rule_type { get; set; }
public bool? is_ref_only { get; set; }
}
public class pdd_property_value_item
{
public List<pdd_property_value_content_item> content { get; set; }
public int? total { get; set; }
public pdd_property_value_pageable_item pageable { get; set; }
public int? total_pages { get; set; }
public bool? first_page { get; set; }
public bool last_page { get; set; }
public int? size { get; set; }
public int? number { get; set; }
}
public class pdd_property_value_pageable_item
{
public int? page_number { get; set; }
public int? page_size { get; set; }
public int? offset { get; set; }
public bool? need_count { get; set; }
}
public class pdd_property_value_content_item
{
public int? vid { get; set; }
public string value { get; set; }
}
public class cat_item
{
public int? cat_id { get; set; }
public string cat_name { get; set; }
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
using AllBase.Model.Param.FissionManage;
using CefSharp.WinForms;
using NaiBa.Util;
using NaiBa.Util.Extension;
using Newtonsoft.Json;
using System;
@@ -30,7 +31,7 @@ namespace AllBase.Model.Result
public string TouTiaoId { get; set; }
public string Cookies { get; set; } = "";
public string Cookies2 { get; set; } = "";
public List<string> AntiContents { get; set; } = new List<string>();
public ConcurrentList<string> AntiContents { get; set; } = new ConcurrentList<string>();
public Dictionary<string, string> DictMultiCookies { get; set; } = new Dictionary<string, string>();
public string LoginStatus { get; set; }
public string LoginStatus2 { get; set; }
@@ -6,6 +6,9 @@ using System.Threading.Tasks;
namespace AllBase.Model.Result
{
/// <summary>
/// 数据库商品成进价
/// </summary>
public class TemuDBProductPurchasePriceInfo
{
public int id { get; set; }