11
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using MyCode.Project.Infrastructure.Common;
|
||||
using NPOI.POIFS.FileSystem;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
@@ -25,15 +26,22 @@ namespace MyCode.Project.Infrastructure.JackYun
|
||||
/// <summary>
|
||||
/// 在吉客云开放平台上申请的Appekey
|
||||
/// </summary>
|
||||
private const string APPKEY = "187657";
|
||||
private const string APPKEY = "71030238";
|
||||
/// <summary>
|
||||
/// 在吉客云开放平台上申请的AppeSecret
|
||||
/// </summary>
|
||||
private const string APPSECRET = "f0d1483f1f2e49cea3dfd48c8d7e3c23";
|
||||
private const string APPSECRET = "0fbe36cc4308405cacadf516338be4c8";
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private const string Token = "c5cd87bb574483e8dd6acbf72f577fe0";
|
||||
/// <summary>
|
||||
/// 吉客云开放平台网关
|
||||
/// </summary>
|
||||
private const string GATEWAY = "http://192.168.88.157:9090/open/openapi/do";
|
||||
private const string GATEWAY = "https://open.jackyun.com/open/openapi/do";
|
||||
//private const string GATEWAY = "http://localhost:9090/open/openapi/do";
|
||||
#endregion
|
||||
|
||||
@@ -75,8 +83,9 @@ namespace MyCode.Project.Infrastructure.JackYun
|
||||
{
|
||||
sbPostData.Append("&").Append(entry.Key).Append("=").Append(entry.Value);
|
||||
}
|
||||
|
||||
sbPostData.Append("&").Append("token").Append("=").Append(Token);
|
||||
string postDataStr = sbPostData.ToString().Substring(1);
|
||||
LogHelper.Info("postDataStr:"+postDataStr);
|
||||
return postData(GATEWAY, postDataStr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user