mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
【新增】新增【微信发货信息管理】功能对接。实现微信小程序二次发货功能平移到后台业务,减少繁琐的二次发货操作。
This commit is contained in:
51
CoreCms.Net.DTO/WeChatShipping/GetDeliveryListResult.cs
Normal file
51
CoreCms.Net.DTO/WeChatShipping/GetDeliveryListResult.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CoreCms.Net.DTO.WeChatShipping
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取运力id列表get_delivery_list返回值处理
|
||||
/// </summary>
|
||||
|
||||
public class GetDeliveryListResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int errcode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运力公司个数
|
||||
/// </summary>
|
||||
public int count { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运力公司列表
|
||||
/// </summary>
|
||||
public List<deliveryModel> delivery_list { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 快递公司实体
|
||||
/// </summary>
|
||||
public class deliveryModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 公司编码
|
||||
/// </summary>
|
||||
public string delivery_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公司名称
|
||||
/// </summary>
|
||||
public string delivery_name { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
80
CoreCms.Net.DTO/WeChatShipping/OrderShippingCreatePost.cs
Normal file
80
CoreCms.Net.DTO/WeChatShipping/OrderShippingCreatePost.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CoreCms.Net.DTO.WeChatShipping
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货信息录入接口提交参数
|
||||
/// </summary>
|
||||
public class OrderShippingCreatePost
|
||||
{
|
||||
/// <summary>
|
||||
/// 同城配送快递编码
|
||||
/// </summary>
|
||||
public string? cityDistributionName { get; set; }
|
||||
/// <summary>
|
||||
/// 同城配送快递单号
|
||||
/// </summary>
|
||||
public string? cityDistributionNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否全部发货
|
||||
/// </summary>
|
||||
public bool is_all_delivered { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 商品信息
|
||||
/// </summary>
|
||||
public string item_desc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发货类型
|
||||
/// </summary>
|
||||
public int logistics_type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交易单号
|
||||
/// </summary>
|
||||
public string transaction_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物流信息
|
||||
/// </summary>
|
||||
public List<ShippingList>? shipping_list { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// openid
|
||||
/// </summary>
|
||||
public string openid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商户号
|
||||
/// </summary>
|
||||
public string merchant_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商家订单编号
|
||||
/// </summary>
|
||||
public string merchant_trade_no { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class ShippingList
|
||||
{
|
||||
/// <summary>
|
||||
/// 快递公司名称
|
||||
/// </summary>
|
||||
public string express_company { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 快递单号
|
||||
/// </summary>
|
||||
public string tracking_no { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user