string pathUrl = string.Format("https://api.weixin.qq.com/shop/delivery/send?access_token={0}", GetToken());
string data = JsonConvert.SerializeObject(new
{
order_id = "2024062410961658",
openid = "ofUem5NBxGrCB5CD1RvMDC1TqRms",// model.WxOpenID,
finish_all_delivery = 1,//0,
delivery_list = new[]
{
new
{
delivery_id = model.CompanyCode,
waybill_id = model.ExpressCode,
product_info_list = new []
{
new
{
out_product_id = 1,
out_sku_id = 2,
product_cnt = 1
}
}
}
},
ship_done_time = ConvertDateTime.FormateSystemTime()
});