步步为盈
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.

42 lines
1.2 KiB

3 years ago
using BBWY.JDSDK.Request;
using Jd.Api;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using io = System.IO;
namespace BBWY.Test
{
internal class Program
{
static void Main(string[] args)
{
3 years ago
IJdClient client = new DefaultJdClient("https://api.jd.com/routerjson", "120EA9EC65AB017567D78CC1139EEEA5", "866a9877f5f24b03b537483b4defe75d");
3 years ago
var req = new AdsDspRtbKuaicheAccountCampaignReportRequest();
req.pageSize = 20;
req.clickOrOrderDay = 1;
//req.obys = "abc";
req.giftFlag = 0;
req.orderStatusCategory = 1;
req.endDay = DateTime.Now.Date.AddDays(-1);
req.isDaily = true;
req.startDay = DateTime.Now.Date;
req.page = 1;
//req.platform = "abc";
req.clickOrOrderCaliber = 0;
var response = client.Execute(req, "ebd15797ff344a8da8e74879cb2acd13mtu3", DateTime.Now.ToLocalTime());
Console.WriteLine(JsonConvert.SerializeObject(response));
Console.ReadKey();
}
}
}