随笔分类 -  03-API

摘要: 阅读全文
posted @ 2021-03-06 15:29 hangxing.pang 阅读(204) 评论(0) 推荐(0)
摘要:朋友对接酷家乐接口,帮忙简单写的一个测试的请求接口通用类。 代码如下: //时间戳 public static long timeStamp = 0L; //账号信息 public const string appKey = "appKey"; public const string Appuid 阅读全文
posted @ 2020-12-14 10:43 hangxing.pang 阅读(277) 评论(0) 推荐(0)
摘要:private static ConcurrentDictionary<string, object> dictCache = new ConcurrentDictionary<string, object>(); #region 得到类里面的属性集合 /// <summary> /// 得到类里面 阅读全文
posted @ 2020-11-24 10:10 hangxing.pang 阅读(107) 评论(0) 推荐(0)
摘要://方法A:HttpClient(首选) using System.Net.Http; private static readonly HttpClient client = new HttpClient(); //POST ar values = new Dictionary<string, st 阅读全文
posted @ 2020-09-06 14:04 hangxing.pang 阅读(1890) 评论(0) 推荐(0)