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