拼多多版权限管理 指定类目上传 ai图片上传权限管理
This commit is contained in:
1 parent
58798805ed
commit
ce23b0a49a
28 files changed
+1265
-483
No files matched your search
@@ -102,6 +102,13 @@ namespace TemuKJD.BLL.PddApi
|
||||
return html;
|
||||
}
|
||||
|
||||
public string PddGoodsCatsGet()
|
||||
{
|
||||
string type = "pdd.goods.cats.get";
|
||||
string html = PddApiRequest(type, Data);
|
||||
return html;
|
||||
}
|
||||
|
||||
public string PddPopAuthTokenCreate(string code)
|
||||
{
|
||||
string type = "pdd.pop.auth.token.create";
|
||||
@@ -299,7 +306,7 @@ namespace TemuKJD.BLL.PddApi
|
||||
return "{\"success\":false, \"error_msg\":\"调用Api编号不能为空\"}";
|
||||
if (!dict.Keys.Contains("access_token") || string.IsNullOrWhiteSpace(dict["access_token"].ParseToString()))
|
||||
return "{\"success\":false, \"error_msg\":\"调用令牌不能为空\"}";
|
||||
var clientSecret = GlobalConfig.PddClentInfoList.FirstOrDefault(c => c.client_id == dict["client_id"].ParseToString())?.client_secret;
|
||||
var clientSecret = GlobalConfig.PddClientInfoList.FirstOrDefault(c => c.client_id == dict["client_id"].ParseToString())?.client_secret;
|
||||
if (clientSecret.IsNullOrEmpty())
|
||||
return "{\"success\":false, \"error_msg\":\"调用密钥不能为空\"}";
|
||||
|
||||
|
||||
Reference in new issue
Block a user