| | |
| | | |
| | | if (string.IsNullOrEmpty(urlHead)) |
| | | { |
| | | urlHead = UserInfo.Current.RequestHttpsHost; |
| | | urlHead = OnAppConfig.Instance.RequestHttpsHost; |
| | | } |
| | | string requestFullUrl = urlHead + apiPath; |
| | | |
| | |
| | | { |
| | | if (string.IsNullOrEmpty(urlHead)) |
| | | { |
| | | urlHead = UserInfo.Current.RequestHttpsHost; |
| | | urlHead = OnAppConfig.Instance.RequestHttpsHost; |
| | | } |
| | | string requestFullUrl = urlHead + apiPath; |
| | | |
| | |
| | | |
| | | if (string.IsNullOrEmpty(urlHead)) |
| | | { |
| | | urlHead = UserInfo.Current.RequestHttpsHost; |
| | | urlHead = OnAppConfig.Instance.RequestHttpsHost; |
| | | } |
| | | string requestFullUrl = urlHead + apiPath; |
| | | |
| | |
| | | //2.4 MD5转换+转小写 |
| | | var signstr = SignMD5Encrypt(str); |
| | | paramDictionary.Add("sign", signstr); |
| | | return Newtonsoft.Json.JsonConvert.SerializeObject(paramDictionary); |
| | | var signResult = Newtonsoft.Json.JsonConvert.SerializeObject(paramDictionary); |
| | | return signResult; |
| | | } |
| | | else |
| | | { |