上货后参加20981活动

This commit is contained in:
wule committed 2025-09-23 09:25:31 +08:00
1 parent b868c718f0
commit 4fcfb2875a
25 files changed
+1379 -119

No files matched your search

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Param.PDDProdParam
{
public class PDDActivityPriceCheckParam
{
public long? activity_id { get; set; }
public int? low_price_check_source_type { get; set; }
public List<GoodsParam> goods_list { get; set; }
}
public class GoodsParam
{
public long? goods_id { get; set; }
public List<SkuTypeItem> sku_type_list { get; set; }
}
public class SkuTypeItem
{
public string sku_activity_price_type { get; set; }
public List<SkuActivityPriceItem> sku_activity_price_list { get; set; }
}
public class SkuActivityPriceItem
{
public int? sku_activity_price { get; set; }
public long? sku_id { get; set; }
}
}
@@ -0,0 +1,80 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Param.PDDProdParam
{
public class PDDActivitySubmitParam
{
public long? activity_id { get; set; } = 20981;
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 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 string behavior_collection_v1_cas_boost_factor { get; set; } = "dXlyaGxldXItNDkwOTQzMTM0LTE3NTgzNzMzNDQwMjE=";
}
public class enroll_source_ctx_item
{
public int? enroll_type { get; set; } = 34;
public string scene_full_coverage { get; set; } = "mmsActQuickEnrollMultiActivityRealTableV1";
public string source_type { get; set; } = "PROMO-OwnHome_MultiActEnrollMMS";
}
public class create_outer_activity_price_ratio_vo_item
{
public bool? merchant_confirm_outer_activity_price_ratio { get; set; } = true;
}
public class create_protocol_vo_item
{
public bool? need_create_cost_template { get; set; } = true;
}
public class goods_vo_param
{
public long? goods_id { get; set; }
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 class create_activity_price_vo_item
{
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 object create_quantity_vo { get; set; } = new object();
}
public class create_traffic_protect_vo_item
{
public int? max_cut_price_amount { get; set; } = 100;
}
public class create_sku_vo_item
{
public sku_front_ctx_vo_item 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 int? filling_sku_price { get; set; }
public int? gear_rule { get; set; }
public int? require_price { get; set; }
}
public class view_confirmed_goods_protocol_vo_item
{
public object confirm_hit_cut_price { get; set; } = null;
}
public class create_material_vo_param
{
public object create_goods_image_vo { get; set; } = new object();
}
}
@@ -164,7 +164,8 @@ namespace AllBase.Model.Param.PDDProdParam
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 List<goods_property_param> goods_properties { get; set; }
public List<goods_spec_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; }
+2
View File
@@ -24,6 +24,8 @@ namespace AllBase.Model.Result
public string product_name { get; set; }
public string product_json { get; set; }
public string size_json { get; set; }
public int sku_img_replace_id { get; set; }
public string sku_img_replace_base64 { get; set; }
public string main_img { get; set; }
public DateTime add_time { get; set; }
public DateTime mdy_time { get; set; }
@@ -0,0 +1,184 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class PDDActivitiInfo
{
public long? mall_id { get; set; }
public List<PDDActivitiGoodsRenderFormItem> theme_activity_quick_enroll_goods_render_form_list { get; set; }
public Dictionary<long, PDDActivitiInfoMapValueItem> activity_info_map { get; set; }
public PictureRenderingItem page_bottom_picture_rendering_element { get; set; }
}
public class PDDActivitiGoodsRenderFormItem
{
public long? goods_id { get; set; }
public GoodsInfoRenderItem goods_info_render { get; set; }
public GoodsPromotionBenefitRenderItem goods_promotion_benefit_render { get; set; }
public GoodsPromotionProtocolRenderItem goods_promotion_protocol_render { get; set; }
public ActivityPriceRenderItem activity_price_render { get; set; }
public List<SkuInfoRenderItem> sku_info_render_list { get; set; }
public ActivityQuantityRenderItem activity_quantity_render { get; set; }
public ActivityMaterialRenderItem activity_material_render { get; set; }
public int? order_number { get; set; } //22
public GoodsActivityEffectRenderItem goods_activity_effect_render { get; set; }
public long? activity_id { get; set; }
public GoodsTrafficProtectInfoItem goods_traffic_protect_info { get; set; }
public object goods_service_tag_render { get; set; }
public object supply_tool_mms_enroll_form_goods_param_items { get; set; }
public GoodsExtensionInfoItem goods_extension_info { get; set; }
public GoodsShippingConfigRenderItem goods_shipping_config_render { get; set; }
}
public class GoodsShippingConfigRenderItem
{
public bool? not_default_selection { get; set; } //false,
public bool? need_create_cost_template { get; set; } //false,
public object cost_template_id { get; set; } //null,
public object cost_template_name { get; set; } //null,
public object valuation { get; set; } //null,
public object delivery_region { get; set; } //null,
public object free_shipping_region { get; set; } //null,
public object not_free_shipping_region { get; set; } //null,
public object not_shipping_region { get; set; } //null
}
public class GoodsExtensionInfoItem
{
public long? goods_id { get; set; }
public int? cat_id1 { get; set; }
public bool? not_default_selection { get; set; }
}
public class GoodsTrafficProtectInfoItem
{
public bool? high_sensitive_goods { get; set; } //false,
public int? fill_max_cut_price_amount { get; set; } //100
}
public class GoodsActivityEffectRenderItem
{
public object sold_quantity1m { get; set; } //null
}
public class ActivityMaterialRenderItem
{
public object activity_goods_image_render { get; set; }
}
public class ActivityQuantityRenderItem
{
public bool? need_goods_activity_quantity { get; set; } // false,
public object min_activity_quantity { get; set; } // null,
public object max_activity_quantity { get; set; } // null
}
public class SkuInfoRenderItem
{
public long? sku_id { get; set; } //1788544288237,
public string sku_name { get; set; } // "红格子",
public int? sku_quantity { get; set; } //100,
public int? group_price { get; set; } //5000
}
public class ActivityPriceRenderItem
{
public bool? not_must_check_price_restrict { get; set; } //false
public List<SkuActivityPriceRenderDtoItem> sku_activity_price_render_dtolist { get; set; }
}
public class SkuActivityPriceRenderDtoItem
{
public long? sku_id { get; set; } // 1788544288237
public string sku_name { get; set; } //"红格子",
public int? sku_quantity { get; set; } // 100,
public int? group_price { get; set; } // 5000,
public int? suggest_price { get; set; } // 3869,
public int? gear_rule { get; set; } // 100,
public int? filling_sku_price { get; set; } // 3860,
public object cur_goods_acty_prc { get; set; } // null
}
public class GoodsPromotionProtocolRenderItem
{
public object need_show_cut_price_compensation { get; set; }
public object need_sign_manfan_protocol { get; set; }
public quickEnrollManfanGoodsInfoVoItem quick_enroll_manfan_goods_info_vo { get; set; }
}
public class quickEnrollManfanGoodsInfoVoItem
{
public object need_join_manfan_act { get; set; }
public object goods_join_manfan_act_info_content { get; set; }
public object protocol_type { get; set; }
}
public class GoodsPromotionBenefitRenderItem
{
public List<object> goods_promotion_label_render_list { get; set; }
public string benefit_text { get; set; }
public object goods_list_benefit_sales { get; set; }
}
public class GoodsInfoRenderItem
{
public long? goods_id { get; set; }
public string goods_name { get; set; }
public int? quantity { get; set; }
public string thumb_url { get; set; }
}
public class PDDActivitiInfoMapValueItem
{
public long? activity_id { get; set; } //20981
public int? activity_type { get; set; } //27
public string activity_type_desc { get; set; } //"大促搜索池"
public string icon_url { get; set; } //"https://promotion.pddpic.com/ignore_query/promo-icontest/9cb3674b-ca45-4479-807e-a7e46070fcbd.png"
public MultiActivityMediaMaterialItem multi_activity_media_material { get; set; }
public ActivityQuickEnrollMallRenderFormItem activity_quick_enroll_mall_render_form { get; set; }
public object important_tips { get; set; } //null
}
public class ActivityQuickEnrollMallRenderFormItem
{
public bool need_promotion_mobile { get; set; } //false
public ActivityProtocolRender activity_protocol_render { get; set; }
public object supply_tool_activity_introduction_list { get; set; } //null
}
public class ActivityProtocolRender
{
public bool need_show_ten_billion_draw_commission { get; set; } //false
public bool need_show_create_cost_template { get; set; } //true
public bool need_show_agree_auto_white_back_pic { get; set; } //false
public bool need_show_traffic_protect { get; set; } //true
}
public class MultiActivityMediaMaterialItem
{
public string brief_activity_name { get; set; } //"【10周年庆】20981长期报名入口"
public object multi_activity_benefit_labels { get; set; } //null
}
public class PictureRenderingItem
{
public object pop_up_material { get; set; }
public BottomPictureConfigMapItem page_bottom_picture_rendering_element { get; set; }
public object not_effective_activity_price_adjust_enroll_config_vo { get; set; }
}
public class BottomPictureConfigMapItem
{
public string texture_picture { get; set; } //"https://commimg.pddpic.com/oms_img_ng/2025-09-12/56cbe3bd-3123-446f-8392-d55d8cfbb657.png"
public string gradient_picture { get; set; } //"https://commimg.pddpic.com/oms_img_ng/2025-09-12/4c020e03-8691-4a59-bd50-58cc351eaf12.png",
public string left_benefit_point_1 { get; set; } //"https://commimg.pddpic.com/oms_img_ng/2025-09-12/2d892518-a486-497b-a824-d93eb275f610.png"
public string left_benefit_point_2 { get; set; } //"https://commimg.pddpic.com/oms_img_ng/2025-09-12/aad5d6f5-3cba-4b17-8558-2e4092a280bc.png"
public string left_benefit_point_3 { get; set; } //"https://commimg.pddpic.com/oms_img_ng/2025-09-12/46b9e65f-c88c-446c-9ddd-c5776b57b64f.png"
}
}