1添加随机上传商品 2优化pdd api授权逻辑

This commit is contained in:
wule committed 2026-04-02 19:48:38 +08:00
1 parent 07b912e9eb
commit c0b7c2d986
34 files changed
+1651 -603

No files matched your search

+4 -2
View File
@@ -272,6 +272,10 @@ namespace TemuKJD.BLL.PddApi
return upResult;
}
public static string clientId { get; set; } = "ad502ec19e0c49ab9df14f83494e153c";
public static string clientSecret { get; set; } = "bd52aba51737d03fc073711d386b3b0779d010ad";
/// <summary>
///
/// </summary>
@@ -280,8 +284,6 @@ namespace TemuKJD.BLL.PddApi
/// <returns></returns>
static string PddApiRequest(string type, Dictionary<string,object> dict)
{
string clientId = "ad502ec19e0c49ab9df14f83494e153c";
string clientSecret = "bd52aba51737d03fc073711d386b3b0779d010ad";
if (string.IsNullOrEmpty(type))
return "{\"success\":false, \"error_msg\":\"调用接口不能为空\"}";