修复httpservice获取分页long丢失精度问题
This commit is contained in:
@@ -72,10 +72,11 @@ namespace Atomx.Admin.Client.Services
|
||||
page = 1;
|
||||
}
|
||||
url = $"{url}?page={page}&size={size}";
|
||||
|
||||
var json = data.ToJson();
|
||||
using var request = new HttpRequestMessage(HttpMethod.Post, url)
|
||||
{
|
||||
Content = JsonContent.Create(data)
|
||||
Content = new StringContent(json, Encoding.UTF8, "application/json")
|
||||
//Content = JsonContent.Create(data)
|
||||
};
|
||||
AttachCookieIfServer(request);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user