商品优化功能,筛选功能优化
This commit is contained in:
1 parent
aeb30c1171
commit
c70fa07d7d
15 files changed
+1600
-68
No files matched your search
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using AllBase.Model.DBModel;
|
||||
|
||||
namespace Work._29Tools.BLL
|
||||
{
|
||||
public static class WxSimOrderSupplierBLL
|
||||
{
|
||||
public static string GetWxSupplierList(ShopLoginInfo shop)
|
||||
{
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmecnodesuppliercosignment/supplier/cgi/getSupplierList?token=&lang=zh_CN";
|
||||
string referer = "https://store.weixin.qq.com/shop/supply/consignmentOrderList";
|
||||
string body = @"{""page"":1,""pageSize"":10,""currentTab"":1}";
|
||||
var result = HttpResponseWXBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string GetWxSupplierListV2(ShopLoginInfo shop, int offset = 0)
|
||||
{
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmecnodesuppliercosignment/distribute/cgi/getDistributeSupplierList?token=&lang=zh_CN";
|
||||
string referer = "https://store.weixin.qq.com/shop/supply/consignmentOrderList";
|
||||
string body = @"{""limit"":20,""offset"":" + offset + "}";
|
||||
var result = HttpResponseWXBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string GetWxSupplierOrderList(ShopLoginInfo shop, string orderId)
|
||||
{
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmecnodesuppliercosignment/order/cgi/orderSearch?token=&lang=zh_CN";
|
||||
string referer = "https://store.weixin.qq.com/shop/supply/consignmentOrderList";
|
||||
string body = @"{""pageSize"":30,""page"":1,""beginTime"":"""",""endTime"":"""",""createBeginTime"":"""",
|
||||
""createEndTime"":"""",""orderId"":""" + orderId + @""",""consignmentOrderId"":"""",""waybillId"":"""",""supplierName"":"""",""productCode"":"""",
|
||||
""spuName"":"""",""note"":"""",""tab"":1}";
|
||||
var result = HttpResponseWXBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user