拼多多版权限管理 指定类目上传 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

@@ -844,7 +844,7 @@ namespace TemuKJD.PDDForms.ShopForms
break;
case "上传Api":
{
var currentPddClient = GlobalConfig.PddClentInfoList.FirstOrDefault(c => c.is_current == true);
var currentPddClient = GlobalConfig.PddClientInfoList.FirstOrDefault(c => c.is_current == true);
if (currentPddClient != null)
{
PDDShopLoginForm shopLoginForm = new PDDShopLoginForm(shop);
@@ -860,7 +860,7 @@ namespace TemuKJD.PDDForms.ShopForms
break;
case "上传授权":
{
var currentPddClient = GlobalConfig.PddClentInfoList.FirstOrDefault(c => c.is_current == true);
var currentPddClient = GlobalConfig.PddClientInfoList.FirstOrDefault(c => c.is_current == true);
if (currentPddClient != null)
{
PDDShopLoginForm shopLoginForm = new PDDShopLoginForm(shop);
@@ -673,6 +673,20 @@ namespace TemuKJD.PDDForms.ShopForms
static int GetAntiContentsTimes = 40;
private void RequestHandler_ResourceLoadComplete(object sender, string url, string postData, string responseData, IRequest request)
{
var responseDataTmp = responseData;
if (responseDataTmp.Contains("活动权益失效"))
{
}//修改后恢复活动权益
if (responseDataTmp.Contains("修改后恢复活动权益"))
{
}//修改后恢复活动权益
if (responseDataTmp.Contains("结婚男方主卧洞房喜联女方出嫁新婚房门挂联入户门贴婚庆用品批发"))
{
}
var antiContent = request.Headers.AllKeys.Contains("Anti-Content") ? request.Headers["Anti-Content"] : "";
var refere = request.ReferrerUrl;
if (shop != null && !url.StartsWith("https://mms.pinduoduo.com/janus/api/userinfo") && !string.IsNullOrEmpty(antiContent) && request.Method == "POST")