1前端采集数据管理端直传上货 2店铺jit 完成15%
This commit is contained in:
1 parent
41a3cb3e34
commit
94f933a5e8
32 files changed
+3768
-466
No files matched your search
@@ -197,12 +197,17 @@ namespace TemuKJD.ToolForms
|
||||
}
|
||||
|
||||
|
||||
public static List<AiSkuImgInfo> GetSkuImgList(string prodId, string specId)
|
||||
public static List<AiSkuImgInfo> GetSkuImgList(string prodId, string specId, int pageSize = 50, bool isRandom = false)
|
||||
{
|
||||
var url = BaseClass.BuildObjString("product/get_sku_image_list");
|
||||
var data = UserLogin.GetSignaturex();
|
||||
data += "&search_product_id=" + prodId;
|
||||
data += "&search_spec_id=" + specId;
|
||||
data += "&page_size=" + pageSize;
|
||||
if (isRandom)
|
||||
{
|
||||
data += "&is_random=true";
|
||||
}
|
||||
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
|
||||
Reference in new issue
Block a user