public void SetUp() { var auth = new PrivateAppAuth(appKey, appSecret); token = auth.GetToken(); api = new Api(token); }
/// <summary> /// 私有应用API使用方法。 /// </summary> private static void PrivateAppSample() { var auth = new PrivateAppAuth(appKey, appSecret); var token = auth.GetToken(); var api = new Api(token); var response = api.Get("customers"); Console.WriteLine(response.Content); }
/// <summary> /// 私有应用API使用方法。 /// </summary> private static void PrivateAppSample() { var auth = new PrivateAppAuth(appKey, appSecret); var token = auth.GetToken(); var api = new Api(token); var response = api.Get("customers"); Console.WriteLine(response.Content); }
public void SetUp() { var auth = new PrivateAppAuth(appKey, appSecret); token = auth.GetToken(); api = new Api(token); }
public void SetUp() { auth = new PrivateAppAuth(appKey, appSecret); }
public void SetUp() { auth = new PrivateAppAuth(appKey, appSecret); }