新增TCP扩展
This commit is contained in:
1 parent
514d6f5255
commit
f119665d29
26 files changed
+2457
-34
No files matched your search
@@ -8,12 +8,12 @@ namespace HHWMS.Web
|
||||
{
|
||||
protected JsonResult ApiResult(object data = null, string msg = "success")
|
||||
{
|
||||
return new JsonResult(new ApiJsonResult<object> { Data = data, State = true, Status = true, Message = msg });
|
||||
return new JsonResult(new ApiJsonResult<object> { Data = data, Success = true, Status = true, Msg = msg });
|
||||
}
|
||||
|
||||
protected JsonResult ApiResultError(object data = null, string msg = "faield")
|
||||
{
|
||||
return new JsonResult(new ApiJsonResult<object> { Data = data, State = false, Status = false, Message = msg });
|
||||
return new JsonResult(new ApiJsonResult<object> { Data = data, Success = false, Status = false, Msg = msg });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user