拼多多版权限管理 指定类目上传 ai图片上传权限管理

This commit is contained in:
wule committed 2026-05-06 18:24:59 +08:00
1 parent 58798805ed
commit ce23b0a49a
28 files changed
+1265 -483

No files matched your search

+6 -1
View File
@@ -1167,7 +1167,7 @@ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
/// <param name="url"></param>
/// <param name="postData"></param>
/// <returns></returns>
public static string PostUtf8(string url, string postData, string contentType = "")
public static string PostUtf8(string url, string postData, string contentType = "", int? timeOut = null)
{
//return PostUtf8(url, Encoding.UTF8.GetBytes(postData));
@@ -1184,6 +1184,11 @@ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
request.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
request.Timeout = BaseClass.TimeOut * 1000;
request.ReadWriteTimeout = BaseClass.TimeOut * 1000;
if (timeOut != null)
{
request.Timeout = timeOut.Value * 1000;
request.ReadWriteTimeout = timeOut.Value * 1000;
}
request.Proxy = null;
request.ContentType = "application/x-www-form-urlencoded; charset=" + codeType;
//if(BaseClass.SaLevel > 0)