步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1016 B

3 years ago
using Jd.Api;
using System;
3 years ago
namespace BBWY.Test
{
internal class Program
{
3 years ago
private static IJdClient GetJdClient(string appKey, string appSecret)
{
return new DefaultJdClient("https://api.jd.com/routerjson", appKey, appSecret);
}
static void Main(string[] args)
{
var appkey = "120EA9EC65AB017567D78CC1139EEEA5";
var appSecret = "8a42bc2301e8439b896e99f5475e0a9b";
3 years ago
var token = "2ace3023200c4ea9aa682bbf8bffee18jztm"; //"b46065ef5b894f2297686e28d39cb37a2mdy";//"2ace3023200c4ea9aa682bbf8bffee18jztm";
IJdClient client = GetJdClient(appkey, appSecret);
3 years ago
// var test1 = new ProductAPITest();
//test1.GetSkus(client,token, "10023500913672");
3 years ago
3 years ago
var testService = new JDServiceAPITest();
testService.GetServiceDetail(client, token);
//var ddTest = new DingDingAPITest();
//ddTest.Send();
3 years ago
Console.ReadKey();
}
}
}