1添加随机上传商品 2优化pdd api授权逻辑
This commit is contained in:
1 parent
07b912e9eb
commit
c0b7c2d986
34 files changed
+1651
-603
No files matched your search
@@ -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\":\"调用接口不能为空\"}";
|
||||
|
||||
Reference in new issue
Block a user