订单任务,现已修改成全局任务列表 包括 订单任务和礼品单任务
订单列表动态展示礼品单状态
This commit is contained in:
1 parent
78dc8a5d03
commit
7998a753cc
20 files changed
+2820
-2627
No files matched your search
@@ -23,12 +23,12 @@ namespace Work.KJDServer.API
|
||||
data = $"{sign}&{data}";
|
||||
return await _postAsync(url, data);
|
||||
}
|
||||
public static async Task<T> PostAsync<T>(string url, string data) where T : Result, new()
|
||||
public static async Task<T> PostAsync<T>(string url, string data, JsonSerializerSettings settings = null) where T : Result, new()
|
||||
{
|
||||
try
|
||||
{
|
||||
string result = await PostAsync(url, data);
|
||||
return JsonConvert.DeserializeObject<T>(result);
|
||||
return JsonConvert.DeserializeObject<T>(result, settings);
|
||||
}
|
||||
catch (JsonException)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user