优化拍单和oem每单费用读取

This commit is contained in:
wule committed 2026-11-20 20:39:10 +08:00
1 parent 7ccc1aae80
commit a0b25ae79c
13 files changed
+129 -75

No files matched your search

@@ -979,14 +979,17 @@ public class OrderGetOrderListHelper
/// </summary>
/// <param name="order_ids"></param>
/// <returns></returns>
public static async Task<List<oms_wei_transfer_extra_package>> GetTransitExtraPackageList(string order_ids)
public static async Task<List<oms_wei_transfer_extra_package>> GetTransitExtraPackageList(string order_ids, string out_order_nos = null)
{
if (string.IsNullOrEmpty(order_ids))
return new List<oms_wei_transfer_extra_package>();
var url3 = BaseClass.Build29WxObjString("order/wx_get_transfer_extra_package");
var data3 = UserLogin.GetSignaturex();
data3 += "&order_no=" + order_ids;
if (!string.IsNullOrEmpty(order_ids))
data3 += "&order_no=" + order_ids;
else if (!string.IsNullOrEmpty(out_order_nos))
data3 += "&out_order_no=" + out_order_nos;
var html3 = await GetHtml.PostUtf8Async(url3, data3);
if (string.IsNullOrEmpty(html3) || !html3.Contains("\"code\":200"))
html3 = await GetHtml.PostUtf8Async(url3, data3);