var start_update = System.DateTime.Now.AddHours(-10).ToString("yyyy-MM-dd HH:mm:ss");
var end_update = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
var curpagecount = 1;
HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = "https://open.youzan.com/api/oauthentry/youzan.trades.sold/3.0.0/get",
Method = "post",
ContentType = "application/x-www-form-urlencoded",
Postdata = $"page_size=100&page_no={curpagecount}&type=ALL&start_update={start_update}&end_update={end_update}&access_token={token}"
};
var result = http.GetHtml(item).Html;
返回:错误代码:80001,信息:服务请求失败,请重试!
这是什么原因呢?
(调用频率1分钟)
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|