1拼多多商品分组 2拼多多登录逻辑优化

This commit is contained in:
wule committed 2025-10-01 16:05:39 +08:00
1 parent 8fb90422a2
commit 378170ffb5
36 files changed
+4272 -736

No files matched your search

@@ -10,16 +10,23 @@ namespace AllBase.Model.Param.PDDProdParam
{
public long? activity_id { get; set; } = 20981; //23620 21365 15996
public List<goods_vo_param> goods_volist { get; set; } = new List<goods_vo_param>();
public create_protocol_vo_item create_protocol_vo { get; set; } = new create_protocol_vo_item();
public object custom_ability_vo { get; set; } = new object();
public create_outer_activity_price_ratio_vo_item create_outer_activity_price_ratio_vo { get; set; } = new create_outer_activity_price_ratio_vo_item();
public enroll_source_ctx_item enroll_source_ctx { get; set; } = new enroll_source_ctx_item();
public create_protocol_vo_param create_protocol_vo { get; set; } = new create_protocol_vo_param();
public custom_ability_vo_item custom_ability_vo { get; set; } = new custom_ability_vo_item();
public create_outer_activity_price_ratio_vo_param create_outer_activity_price_ratio_vo { get; set; } = new create_outer_activity_price_ratio_vo_param();
public enroll_source_ctx_param enroll_source_ctx { get; set; } = new enroll_source_ctx_param();
// 15996 dXlyaGxldXItNDkwOTQzMTM0LTE3NTg2OTQxODA2MzE=
public string behavior_collection_v1_cas_boost_factor { get; set; } = "dXlyaGxldXItNDkwOTQzMTM0LTE3NTgzNzMzNDQwMjE=";
}
public class enroll_source_ctx_item
public class custom_ability_vo_item
{
//百万爆款报名需要
public bool? agree_pyramid_system_enroll { get; set; }
public string pyramid_activity_id { get; set; }
}
public class enroll_source_ctx_param
{
public int? enroll_type { get; set; } = 3; // 20981 34, 15996 3
public string scene_full_coverage { get; set; } = "mmsActBatchEnrollV1"; // 20981 mmsActQuickEnrollMultiActivityRealTableV1, 15996 mmsActBatchEnrollV1
@@ -27,12 +34,12 @@ namespace AllBase.Model.Param.PDDProdParam
public string scene_type { get; set; } = "ActivityCard"; // 10981 无, 15996 ActivityCard
}
public class create_outer_activity_price_ratio_vo_item
public class create_outer_activity_price_ratio_vo_param
{
public bool? merchant_confirm_outer_activity_price_ratio { get; set; } = true;
}
public class create_protocol_vo_item
public class create_protocol_vo_param
{
public bool? need_create_cost_template { get; set; } = false; //如运费模板不满足要求,同意为您自动切换为活动适用的运费模板
}
@@ -43,41 +50,41 @@ namespace AllBase.Model.Param.PDDProdParam
public object create_goods_coupon_vo { get; set; } = new object();
public object create_finance_cost_vo { get; set; } = new object();
public create_material_vo_param create_material_vo { get; set; } = new create_material_vo_param();
public view_confirmed_goods_protocol_vo_item view_confirmed_goods_protocol_vo { get; set; } = new view_confirmed_goods_protocol_vo_item();
public create_activity_price_vo_item create_activity_price_vo { get; set; } = new create_activity_price_vo_item();
public create_discount_vo_item create_discount_vo { get; set; }
public view_confirmed_goods_protocol_vo_param view_confirmed_goods_protocol_vo { get; set; } = new view_confirmed_goods_protocol_vo_param();
public create_activity_price_vo_param create_activity_price_vo { get; set; } = new create_activity_price_vo_param();
public create_discount_vo_param create_discount_vo { get; set; }
}
public class create_discount_vo_item {
public int? multi_percent_discount { get; set; } = 99;
public bool? hit_multi_percent { get; set; } = true;
public class create_discount_vo_param {
public int? multi_percent_discount { get; set; } = null;
public bool? hit_multi_percent { get; set; } = null;
}
public class create_activity_price_vo_item
public class create_activity_price_vo_param
{
public List<create_sku_vo_item> create_sku_vos { get; set; } = new List<create_sku_vo_item>();
public create_traffic_protect_vo_item create_traffic_protect_vo { get; set; } = new create_traffic_protect_vo_item();
public create_quantity_vo_item create_quantity_vo { get; set; } = new create_quantity_vo_item();
public List<create_sku_vo_param> create_sku_vos { get; set; } = new List<create_sku_vo_param>();
public create_traffic_protect_vo_param create_traffic_protect_vo { get; set; } = new create_traffic_protect_vo_param();
public create_quantity_vo_param create_quantity_vo { get; set; } = new create_quantity_vo_param();
public object create_time_vo { get; set; } = new object();
}
public class create_quantity_vo_item {
public class create_quantity_vo_param {
public int? goods_activity_quantity { get; set; }
}
public class create_traffic_protect_vo_item
public class create_traffic_protect_vo_param
{
public int? max_cut_price_amount { get; set; } = 50; //任意规格当前价失效时,降价0.5元恢复活动权益 //可考虑转换为总价的百分比
}
public class create_sku_vo_item
public class create_sku_vo_param
{
public sku_front_ctx_vo_item sku_front_ctx_vo { get; set; }
public sku_front_ctx_vo_param sku_front_ctx_vo { get; set; }
public int? sku_activity_price { get; set; }
public long? sku_id { get; set; }
}
public class sku_front_ctx_vo_item
public class sku_front_ctx_vo_param
{
public int? filling_sku_price { get; set; }
public int? gear_rule { get; set; }
@@ -87,7 +94,7 @@ namespace AllBase.Model.Param.PDDProdParam
public object tags { get; set; } // null
}
public class view_confirmed_goods_protocol_vo_item
public class view_confirmed_goods_protocol_vo_param
{
public object confirm_hit_cut_price { get; set; } = null;
public bool? confirm_copy_goods_for_customer_num { get; set; } = false;
@@ -96,8 +103,14 @@ namespace AllBase.Model.Param.PDDProdParam
public class create_material_vo_param
{
public object create_goods_image_vo { get; set; } = new object();
public create_goods_image_vo_param create_goods_image_vo { get; set; } = new create_goods_image_vo_param();
public object create_goods_memo_vo { get; set; } = new object();
public object create_goods_title_vo { get; set; } = new object();
public object create_goods_brand_vo { get; set; } = new object();
}
public class create_goods_image_vo_param
{
public string raw_activity_image_url { get; set; }
}
}
+1
View File
@@ -30,6 +30,7 @@ namespace AllBase.Model.Result
public string main_img { get; set; }
public DateTime add_time { get; set; }
public DateTime mdy_time { get; set; }
public string group { get; set; }
public string notes { get; set; }
/// <summary>
/// (某个店铺)上传次数
@@ -303,6 +303,7 @@ namespace AllBase.Model.Result.PDDResult
public object sale_time_fixed { get; set; }
public object sale_time { get; set; }
public object price_show { get; set; }
public object price_desc { get; set; }
}
public class instruction_vo_item
@@ -0,0 +1,276 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class PDDShopListProductInfo
{
public string shopId { get; set; }
public string shopName { get; set; }
public int? quantity { get; set; } //2400,
public decimal? score { get; set; } //0,
public string resource { get; set; } //"",
public object priority { get; set; } //null,
public List<int?> sku_group_price { get; set; }
public List<int?> sku_price { get; set; }
public List<int?> origin_sku_group_price { get; set; }
public object promotion_goods { get; set; }
public long? mall_id { get; set; }
public string mall_name { get; set; }
public long? id { get; set; }
public string goods_name { get; set; }
public object goods_sn { get; set; } //null,
public int? goods_type { get; set; } //1,
public int? cat_id { get; set; } //20508,
public string cat_name { get; set; } //"板鞋",
public string cat_name_1 { get; set; } //"女鞋",
public string cat_name_2 { get; set; } //"低帮鞋",
public string cat_name_3 { get; set; } //"板鞋",
public object cat_name_4 { get; set; } //null,
public int? cat_id_1 { get; set; } //8509,
public int? cat_id_2 { get; set; } //8517,
public int? cat_id_3 { get; set; } //20508,
public int? cat_id_4 { get; set; } //0,
public int? event_type { get; set; } //0,
public object display_priority { get; set; } //ull,
public int? reserve_quantity { get; set; } //0,
public string hd_thumb_url { get; set; } //"https://img.pddpic.com/gaudit-image/2025-09-25/5360fe20379b76e0ca533598fbb1ac43.jpeg",
public string image_url { get; set; } //null,
public string hd_url { get; set; } //"https://img.pddpic.com/mms-material-img/2024-02-26/b5006192-2a61-475c-8d80-d67f1c74e64d.jpeg",
public string thumb_url { get; set; } //"https://img.pddpic.com/gaudit-image/2025-09-25/9a501046cb26693c05410b11e16e1c65.jpeg",
public bool? is_onsale { get; set; } //true,
public int? sold_quantity { get; set; } //0,
public object resource_hover { get; set; } //null,
public object wait_cut_price { get; set; } //null,
public object off_sale_check { get; set; } //null,
public object onsale_check { get; set; } //null,
public edit_check_info edit_check { get; set; } //null,
public object goods_off_sale_check { get; set; } //null,
public object goods_on_sale_check { get; set; } //null,
public object share_desc { get; set; } //null,
public string goods_desc { get; set; } //"内增高小白鞋女真皮厚底运动鞋2024春季新款韩版百搭休闲学生板鞋",
public object activity_title { get; set; } //null,
public bool? is_card_secret { get; set; } //alse,
public int? market_price { get; set; } //6660,
public string out_goods_sn { get; set; } //"",
public int? sold_quantity_for_thirty_days { get; set; } //0,
public int? fav_cnt { get; set; } //0,
public bool? multi_treasure { get; set; } //false,
public int? multi_treasure_status { get; set; } //0,
public bool? if_new_goods { get; set; } //false,
public List<object> tag_category_list { get; set; }
public object goods_info_score_dto { get; set; }
public goods_inspect_score_info goods_inspect_score { get; set; }
public long? created_at { get; set; } //1758794494,
public long? updated_at { get; set; } //1758794550,
public object sold_out_time { get; set; } //null,
public long? offline_time { get; set; } //0,
public long? pre_sale_time { get; set; } //0,
public long? shipment_limit_second { get; set; } //86400,
public bool? is_group_pre_sale { get; set; } //false,
public long? guide_target { get; set; } //10001,
public bool? over_sell { get; set; } //false,
public object market_labels { get; set; } //null,
public List<label_info> labels { get; set; }
public List<sku_list_info> sku_list { get; set; }
public object property_list { get; set; }
public schedule_sale_item schedule_sale { get; set; }
public long? costTemplateId { get; set; }
public object goods_price_score { get; set; }
public bool? is_pre_sale { get; set; }
public List<object> pre_sale_sku_list { get; set; }
public object sku_id_to_sold_out_config { get; set; }// null,
public object sold_out_to_presale_type { get; set; }//null,
public bool? if_allow_set_quantity_threshold { get; set; }//false,
public bool? if_mall_allow_set_quantity_threshold { get; set; }//false,
public object sku_id_to_sold_out_quantity_config { get; set; }//null,
public int? vegetable_sold_quantity { get; set; }//0,
public string attributes_1 { get; set; } //"{\"folt\":0,\"appNew\":0,\"homeDeliver\":0,\"sh\":0}",
public List<int?> option_list { get; set; }
public object high_price_sku_count { get; set; } // null,
public object advice_price_label { get; set; } // null,
public object price_type { get; set; } // null,
public object price_cut_rights_goods_count { get; set; } // null,
public object suggest_price { get; set; } // null,
public object suggest_count { get; set; } // null,
public object brand_name { get; set; } // null,
public object goods_copy_shipping_type { get; set; } // null,
public object price_delta { get; set; } // null,
public object weighted_status { get; set; } // null,
public bool? festival_goods { get; set; } // false,
public int? two_pieces_discount { get; set; } // 95,
public int? max_two_pieces_discount { get; set; } // 99,
public int? min_two_pieces_discount { get; set; } // 50,
public int? recommend_two_pieces_discount { get; set; } // 95,
public two_pieces_rule_vo_info two_pieces_rule_vo { get; set; }
public object neg_keyword_num { get; set; }
public resource_guide_vo_info resource_guide_vo { get; set; }
public resource_guide_vo_info resource_guide_vo_v2 { get; set; }
public List<goods_action_list_info> goods_action_list { get; set; }
public object ware_status { get; set; } // null,
public int? max_normal_price { get; set; } // 6560,
public object cxx_advice_num { get; set; } // null,
public object opportunity_goods_cvr { get; set; } // null,
public object is_history_review_exists { get; set; } // null,
public object goods_quality_score { get; set; } // null,
public object goods_event_registration_info { get; set; } // null,
public bool? need_cancel_presale { get; set; } // false,
public object goods_alarm_detail { get; set; } // null,
public object goods_evaluation_score_rank_by_cat_id { get; set; } // null,
public bool? is_goods_low_quantity { get; set; } // false,
public object is_new_style { get; set; } // null,
public object no_new_style_reason_desc { get; set; } // null,
public object no_new_style_reason_code { get; set; } // null,
public object new_style_count_down { get; set; } // null,
public object resource_status_of_new_style { get; set; } // null,
public object advertise_status_of_new_style { get; set; } // null,
public object new_style_activity_id { get; set; } // null,
public object new_style_big_sale_activity_id { get; set; } // null,
public object reject_status { get; set; } // null,
public object reject_reason { get; set; } // null
}
public class edit_check_info
{
public int? check_status { get; set; } // 3,
public int? is_appeal { get; set; } // 0,
public long? submit_uid { get; set; } // 91339707,
public string submit_uname { get; set; } // "pdd49237969325",
public long? submit_time { get; set; } // 1759061025,
public string reject_reason { get; set; } // "您发布的商品含有与主图、标题不一致(包括但不限于品类、款式、材质、规格不一致)的SKU,请分开上架或删除不合理的低价SKU,勿实施低价引流行为。相关违规案例可参考<a href=\"https://mms.pinduoduo.com/other/help/detail/0/1590\">低价引流系列课</a>。; ",
public long? goods_commit_id { get; set; } // 170413450152,
public int? check_type { get; set; } // 1
}
public class goods_action_list_info
{
public string actionSign { get; set; } // "videodatatraffic",
public string name { get; set; } // "上传商品讲解",
public bizData_info bizData { get; set; }
public int? id { get; set; } // 9,
public int? actionSceneId { get; set; } // 0,
public int? priority { get; set; } // 5,
public string tagName { get; set; } // "",
public string jumpUrl { get; set; } // "https://mms.pinduoduo.com/goods/evaluation/activity?tool_full_channel=10357_66431"
}
public class bizData_info
{
public bool? hasReceiveFlowTag { get; set; } // true
public object ratioReview { get; set; } // null,
public object grantNum { get; set; } // null,
public object rewardStyle { get; set; } // null,
public object grantTotalMoney { get; set; } // null,
public object picReviewNum { get; set; } // null,
public int? isGoodsReward { get; set; } // 2,
public string @class { get; set; } // "com.yiran.service.bernstein.contract.dto.external.MallGoodsGrantEntranceInfoDTO"
}
public class resource_guide_vo_info
{
public List<resource_guide_list_info> resource_guide_list { get; set; }
}
public class resource_guide_list_info
{
public int? id { get; set; } // 1,
public string desc { get; set; } // "商品评价",
public int? priority { get; set; } // 3,
public bool? show { get; set; } // false
public int? entranceId { get; set; } // 101,
public string url { get; set; } // "https://mms.pinduoduo.com/mobile-kit-ssr/coupon-pro/create?type=1&goods=825614676361&tool_full_channel=12449_72894",
public object extraDataMap { get; set; } // null,
public bool? is_list_show { get; set; } // true,
public bool? is_show { get; set; } // true,
public string entrance_text { get; set; } // "设置商品立减券",
public object corner_text { get; set; } // null,
public int? corner_style { get; set; } // 0
}
public class two_pieces_rule_vo_info
{
public two_pieces_percent_inform_vo_info two_pieces_percent_inform_vo { get; set; }
public close_two_pieces_inform_vo_info close_two_pieces_inform_vo { get; set; }
}
public class close_two_pieces_inform_vo_info
{
public bool? can_close { get; set; } // false,
public string cant_close_inform_message { get; set; } // "当前分类下的商品不能取消折扣"
}
public class two_pieces_percent_inform_vo_info
{
public int? min_two_pieces_discount { get; set; } // 50,
public int? max_two_pieces_discount { get; set; } // 99,
public int? recommend_two_pieces_discount { get; set; } // null,
public string incorrect_inform_message { get; set; } // "应为5-9.9折"
}
public class sku_list_info
{
public string spec { get; set; } //"白色(优选品质) 35",
public string newSpec { get; set; } //"白色(优选品质),35",
public long? skuId { get; set; } //1791264692705,
public int? skuQuantity { get; set; } //200,
public object skuSoldQuantity { get; set; } //null,
public string outSkuSn { get; set; } //"",
public bool? isOnsale { get; set; } //true,
public int? normalPrice { get; set; } //5120,
public int? groupPrice { get; set; } //5020,
public object activityGroupPrice { get; set; } //null,
public string skuThumbUrl { get; set; } //"https://img.pddpic.com/mms-material-img/2024-07-11/f563ff64-1142-4f09-b449-6c9132268659.jpeg",
public List<long?> specIdList { get; set; } //[17096489902, 48566],
public object weight { get; set; } //null,
public object recordNoList { get; set; } //null,
public object newGoodsAdvicePrice { get; set; } //null,
public object reserveQuantity { get; set; } //null,
public object advicePrice { get; set; } //null,
public object cxxAdvicePrice { get; set; } //null,
public object workdayPrice { get; set; } //null,
public object advicePriceInfo { get; set; } //null,
public bool? isSkuLowQuantity { get; set; } //false,
public List<object> specInfo { get; set; } //[]
}
public class label_info
{
public List<string> label { get; set; } //["机会商品"]
public string color { get; set; } //"#FC8D51",
public int? priority { get; set; } //9,
public int? label_priority { get; set; } //3,
public string type { get; set; } //"chance",
public object ext_info { get; set; } //{}
public int? sku_type { get; set; } //0,
public int? sku_count { get; set; } //12,
}
public class goods_inspect_score_info
{
public object score { get; set; } // null,
public object problemsDesc { get; set; } // null,
public object problemsCode { get; set; } //null,
public int? status { get; set; } //0,
public object taskId { get; set; } //null,
public bool? newInspect { get; set; } //false,
public object newStatus { get; set; } //null,
public object reversePunishTime { get; set; } //null
}
}