增加OEM返现列表
This commit is contained in:
1 parent
2f6b0deb1c
commit
a9c3e5e301
11 files changed
+932
-175
No files matched your search
@@ -193,7 +193,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
|
||||
string data = JsonHelper.SerializeObject(obj);
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
var ret = JsonConvert.DeserializeObject<PageResult<WXOemWithdrawalInfo>>(html);
|
||||
var ret = JsonConvert.DeserializeObject<ApiPageResult<WXOemWithdrawalInfo>>(html);
|
||||
if (ret.Code != 200)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
@@ -205,10 +205,10 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
|
||||
|
||||
seconds = BaseRegex.GetDecimalJson(ref html, "seconds");
|
||||
pageCount = Math.Ceiling(1.0 * ret.Total / pageSize).ParseToInt();
|
||||
pageCount = Math.Ceiling(1.0 * ret.Data.Total / pageSize).ParseToInt();
|
||||
pageCount = Math.Max(pageCount, 1);
|
||||
|
||||
return ret.Data;
|
||||
return ret.Data.List;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in new issue
Block a user