限时限量购功能
This commit is contained in:
1 parent
0210b76c45
commit
5fa6a7e2c1
12 files changed
+2195
-7
No files matched your search
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Param.PDDCouponParam
|
||||
{
|
||||
public class PDDActivityMarketingParam
|
||||
{
|
||||
public int? call_source { get; set; }
|
||||
public List<batch_stage_activity_info> batch_stage_activities { get; set; }
|
||||
public bool? default_channel { get; set; } = true;
|
||||
}
|
||||
|
||||
public class batch_stage_activity_info
|
||||
{
|
||||
public List<stage_activity_info> stage_activities { get; set; }
|
||||
}
|
||||
|
||||
public class stage_activity_info
|
||||
{
|
||||
public bool? goods_unified_activity { get; set; } // true,
|
||||
public string activity_name { get; set; } // "限量促销1",
|
||||
public int? activity_type { get; set; } // 3,
|
||||
public bool? check_low_price { get; set; } // true,
|
||||
public long? goods_id { get; set; } // 820143666861,
|
||||
public string tool_full_channel { get; set; } // "10921_77271__normal",
|
||||
public string channel_recognize_code { get; set; } // "b21rZ2V5aGwtNDkyMzc5NjkzLTE3NjA5Mzk3NDE0MTY=",
|
||||
public bool? auto_create_after_finished { get; set; } = false; // false,
|
||||
public marketing_tool_detail_option_info marketing_tool_detail_option { get; set; } = new marketing_tool_detail_option_info();
|
||||
public List<activity_sku_price> price_list { get; set; }
|
||||
public int? pattern { get; set; }
|
||||
public long? start_time { get; set; } // 1760889600,
|
||||
public long? end_time { get; set; } // 1761494399
|
||||
}
|
||||
public class activity_sku_price
|
||||
{
|
||||
public int? user_activity_limit { get; set; } // 0
|
||||
public List<sku_price_dto> sku_price_dtos { get; set; }
|
||||
public int? quantity { get; set; } // 1782
|
||||
}
|
||||
|
||||
public class sku_price_dto
|
||||
{
|
||||
public long? sku_id { get; set; } // 1788445374246
|
||||
public int? activity_price { get; set; } // 6612
|
||||
}
|
||||
|
||||
public class marketing_tool_detail_option_info
|
||||
{
|
||||
public bool? price_insurance { get; set; } = false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result.PDDResult.PDDCouponResult
|
||||
{
|
||||
public class PDDActivityToolGoodsListInfo
|
||||
{
|
||||
public int? total { get; set; } = 1;
|
||||
public int? remaining_create_num { get; set; } = 1;
|
||||
public List<PDDActivityGoodsInfo> goods_list { get; set; } = new List<PDDActivityGoodsInfo>();
|
||||
}
|
||||
|
||||
public class PDDActivityGoodsInfo
|
||||
{
|
||||
public long? goods_id { get; set; } // 820141079905,
|
||||
public string goods_name { get; set; } // "Simwood简木男装2021秋季新款纯棉衬衣休闲百搭牛津纺长袖衬衫男",
|
||||
public int? quantity { get; set; } // 594,
|
||||
public string image_url { get; set; } // "",
|
||||
public int? cat_id { get; set; } // 423,
|
||||
public int? cat_id1{ get; set; } // 239,
|
||||
public int? cat_id2{ get; set; } // 245,
|
||||
public int? cat_id3{ get; set; } // 423,
|
||||
public int? cat_id4 { get; set; } // 0,
|
||||
public List<int?> sku_group_price { get; set; } // [ 40660, 42260 ],
|
||||
public string hd_thumb_url { get; set; } // "https://img.pddpic.com/gaudit-image/2025-09-17/fb8dc75ffcf88199a244aca6add28e1b.jpeg",
|
||||
public string thumb_url { get; set; } // "https://img.pddpic.com/gaudit-image/2025-09-17/3d4669220263f41cb69c2903f9ade36e.jpeg",
|
||||
public bool? new_goods { get; set; } // false,
|
||||
public List<new_flow_equity_option_vo_info> new_flow_equity_option_volist {get;set;}
|
||||
public bool? valid { get; set; } // true
|
||||
public bool? optional { get; set; } // true
|
||||
|
||||
// 自定义参数
|
||||
public string shopId { get; set; }
|
||||
public string shopName { get; set; }
|
||||
}
|
||||
public class new_flow_equity_option_vo_info
|
||||
{
|
||||
public int? type { get; set; } // 5
|
||||
public bool? selected { get; set; } // true
|
||||
}
|
||||
|
||||
public class PDDCreateActivityToolResult
|
||||
{
|
||||
public List<PDDCreateActivityToolFailInfo> fail_list { get; set; }
|
||||
public List<long?> success_goods_id_list { get; set; }
|
||||
}
|
||||
|
||||
public class PDDCreateActivityToolFailInfo
|
||||
{
|
||||
public long goods_id { get; set; } // 820156693761,
|
||||
public string goods_name { get; set; } // "Simwood简木男装2021秋季新款纯棉衬衣休闲百搭牛津纺长袖衬衫男",
|
||||
public string mage_url { get; set; } // "https://img.pddpic.com/gaudit-image/2025-09-17/61a216c8e22bf14a313b04a97172ff54.jpeg",
|
||||
public string fail_reason { get; set; } // "规格Id:1787512685498,规格 折后价不符合规则; 规格Id:1787512685497,规格 折后价不符合规则; 规格Id:1787512685496,价格过高,未达门槛; 规格Id:1787512685495,价格过高,未达门槛; ",
|
||||
public long? error_code { get; set; } // 1000000,
|
||||
public List<object> low_price_promotion_info_volist { get; set; } // [ ]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result.PDDResult.PDDCouponResult
|
||||
{
|
||||
public class PDDActivityToolGoodsSkuListInfo
|
||||
{
|
||||
public long? goods_id { get; set; }
|
||||
public List<valid_sku_vo_info> valid_sku_volist { get; set; }
|
||||
public List<valid_sku_vo_info> in_valid_sku_volist { get; set; }
|
||||
}
|
||||
|
||||
public class valid_sku_vo_info
|
||||
{
|
||||
public long? goods_id { get; set; } // 820277345858,
|
||||
public long? sku_id { get; set; } // 1787597162211,
|
||||
public string sku_name { get; set; } // "均码;丝绒裤子",
|
||||
public int? quantity { get; set; } // 99,
|
||||
public string thumb_url { get; set; } // "https://t00img.yangkeduo.com/openapi/images/2021-01-06/66404c25d56ad46d9bfb3d060c154f7f.jpeg",
|
||||
public int? sku_group_price { get; set; } // 18963,
|
||||
public int? valid_status { get; set; } // 0,
|
||||
public string invalid_reason { get; set; } // "规格 有效"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result.PDDResult.PDDCouponResult
|
||||
{
|
||||
public class PDDActivityToolSkuDiscountListInfo
|
||||
{
|
||||
public List<marketing_tool_discount> marketing_tool_discounts { get; set; }
|
||||
public int? batch_max_discount { get; set; } // 874,
|
||||
public int? batch_max_discount_tenth { get; set; } // 87,
|
||||
public int? batch_min_discount { get; set; } // 100,
|
||||
public int? batch_min_discount_tenth { get; set; } // 10,
|
||||
public int? batch_max_reduced_amount { get; set; } // 6840,
|
||||
public int? batch_min_reduced_amount { get; set; } // 17067,
|
||||
public int? batch_max_activity_price { get; set; } // 6660,
|
||||
public int? batch_min_activity_price { get; set; } // 2036
|
||||
|
||||
}
|
||||
|
||||
public class marketing_tool_discount
|
||||
{
|
||||
public long? goods_id { get; set; } // 820277345858,
|
||||
public int? discount { get; set; } // 960,
|
||||
public int? discount_tenth { get; set; } // 96,
|
||||
public int? min_discount { get; set; } // 100,
|
||||
public int? min_discount_tenth { get; set; } // 10,
|
||||
public int? suggest_discount { get; set; } // 949,
|
||||
public int? suggest_discount_tenth { get; set; } // 94,
|
||||
public int? max_activity_price { get; set; } // 18215,
|
||||
public int? min_activity_price { get; set; } // 2036,
|
||||
public int? suggest_activity_price { get; set; } // 18014,
|
||||
public int? max_reduced_amount { get; set; } // 17067,
|
||||
public int? min_reduced_amount { get; set; } // 748,
|
||||
public int? suggest_reduced_amount { get; set; } // 1019,
|
||||
public int? min_quantity { get; set; } // 1,
|
||||
public int? max_quantity { get; set; } // 2147483647,
|
||||
public List<backward_stage_activity_suggested_info_> backward_stage_activity_suggested_info { get; set; }
|
||||
public List<sku_discount_info> sku_discounts { get; set; }
|
||||
public List<goods_new_flow_equity_option_vo_info> goods_new_flow_equity_option_volist { get; set; }
|
||||
public List<goods_wide_new_flow_equity_option_vo_info> goods_wide_new_flow_equity_option_volist { get; set; }
|
||||
}
|
||||
|
||||
public class goods_new_flow_equity_option_vo_info
|
||||
{
|
||||
public int? type { get; set; } // 5
|
||||
public bool? selected { get; set; } // true
|
||||
}
|
||||
|
||||
public class goods_wide_new_flow_equity_option_vo_info
|
||||
{
|
||||
public int? type { get; set; } // 5
|
||||
public bool? selected { get; set; } // true
|
||||
}
|
||||
|
||||
public class sku_discount_info
|
||||
{
|
||||
public long? sku_id { get; set; } // 1787597162211,
|
||||
public int? discount { get; set; } // 960,
|
||||
/// <summary>
|
||||
/// 折扣后最高值 96代表9.6折
|
||||
/// </summary>
|
||||
public int? discount_tenth { get; set; } // 96,
|
||||
public int? min_discount { get; set; } // 100,
|
||||
/// <summary>
|
||||
/// 折扣后最低值 10代表1折
|
||||
/// </summary>
|
||||
public int? min_discount_tenth { get; set; } // 10,
|
||||
public int? min_discounted_price { get; set; } // 1896,
|
||||
public int? max_discounted_price { get; set; } // 18215,
|
||||
public int? suggested_activity_price { get; set; } // 18014,
|
||||
public int? suggested_activity_discount { get; set; } // 949,
|
||||
public int? suggested_activity_discount_tenth { get; set; } // 94,
|
||||
/// <summary>
|
||||
/// 最少降价金额
|
||||
/// </summary>
|
||||
public int? min_reduced_amount { get; set; } // 748,
|
||||
/// <summary>
|
||||
/// 最多降价金额
|
||||
/// </summary>
|
||||
public int? max_reduced_amount { get; set; } // 17067,
|
||||
public int? suggested_reduced_amount { get; set; } // 949,
|
||||
|
||||
public List<backward_stage_activity_suggested_info_> backward_stage_activity_suggested_info { get; set; }
|
||||
}
|
||||
|
||||
public class backward_stage_activity_suggested_info_
|
||||
{
|
||||
public int? activity_price { get; set; } // 18014,
|
||||
public int? activity_discount { get; set; } // 949,
|
||||
public int? activity_discount_tenth { get; set; } // 94,
|
||||
public int? reduced_amount { get; set; } // 1019
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user