public string BuildAuthUrl(string url, string openId, string secret, string callback, CJDictionary txtParams, DateTime timestamp) { txtParams.Add(CALL_BACK, callback); // txtParams.Add(VERSION, "1.0"); txtParams.Add(OPEN_ID, openId); // txtParams.Add(FORMAT, format); // txtParams.Add(PARTNER_ID, SDK_VERSION); txtParams.Add(TIMESTAMP, timestamp); // txtParams.Add(TOKEN, session); // txtParams.AddAll(this.systemParameters); // 添加签名参数 txtParams.Add(SIGN, CJUtils.SignRequest(txtParams, secret)); var webUtils = new WebUtils(); return webUtils.BuildGetUrl(url, txtParams); }
public string BuildUrl(string url, string secret, IDictionary<string, string> txtParams) { txtParams.Add(SIGN, CJUtils.SignRequest(txtParams, secret)); var webUtils = new WebUtils(); return webUtils.BuildGetUrl(url, txtParams); }
public string BuildUrl(string url, IDictionary<string, string> txtParams) { var webUtils = new WebUtils(); return webUtils.BuildGetUrl(url, txtParams); }
public string BuildAuthUrl(string url, CJDictionary txtParams, DateTime timestamp) { var webUtils = new WebUtils(); return webUtils.BuildGetUrl(url, txtParams); }