333
This commit is contained in:
parent
6fb1183c82
commit
249f803231
|
|
@ -104,7 +104,7 @@ namespace ZR.ServiceCore.Middleware
|
||||||
{
|
{
|
||||||
StatusCode = 200,
|
StatusCode = 200,
|
||||||
ContentType = "application/json",
|
ContentType = "application/json",
|
||||||
Value = JsonConvert.SerializeObject(new ApiResult((int)ResultCode.FORBIDDEN, $"你当前没有权限访问,请联系管理员", new { }))
|
Value = new ApiResult((int)ResultCode.FORBIDDEN, $"你当前没有权限访问,请联系管理员", new { })
|
||||||
};
|
};
|
||||||
context.HttpContext.Response.StatusCode = 200;
|
context.HttpContext.Response.StatusCode = 200;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user