Files
lserp_cs_6.0/插件库/Lskj.Push/Common/resp/BooleanResult.cs
T
cyf ab56a9bcf7 基线 SVN r240
SVN-Revision: r240
2025-02-06 06:46:06 +00:00

26 lines
730 B
C#

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lskj.Push.Common.Resp
{
public class BooleanResult : DefaultResult
{
public bool result;
new public static BooleanResult fromResponse(ResponseWrapper responseWrapper)
{
BooleanResult tagListResult = new BooleanResult();
if (responseWrapper.isServerResponse())
{
tagListResult = JsonConvert.DeserializeObject<BooleanResult>(responseWrapper.responseContent);
}
tagListResult.ResponseResult = responseWrapper;
return tagListResult;
}
}
}