添加HSL,并创建工具类,在IWCS写测试

This commit is contained in:
zhougf committed 2024-12-30 19:49:29 +08:00
1 parent 2c178b1810
commit b0a6dcc035
10 files changed
+1381 -4

No files matched your search

+2 -2
View File
@@ -6,12 +6,12 @@ namespace HHWMS.Web
{
public abstract class ApiController : BaseApiController
{
protected JsonResult ApiResult(object data = null, string msg = "success")
protected JsonResult ApiResult(object data = null, string msg = "操作成功!")
{
return new JsonResult(new ApiJsonResult<object> { Data = data, Success = true, Status = true, Msg = msg });
}
protected JsonResult ApiResultError(object data = null, string msg = "faield")
protected JsonResult ApiResultError(object data = null, string msg = "操作失败!")
{
return new JsonResult(new ApiJsonResult<object> { Data = data, Success = false, Status = false, Msg = msg });
}