1
build / build-push (push) Successful in 33s

This commit is contained in:
wanghu
2026-09-03 16:57:56 +08:00
parent ce5e806adb
commit a8e02ab176
@@ -96,7 +96,7 @@ namespace YhCore.WebApi.Middleware
{
context.Response.StatusCode = StatusCodes.Status200OK;
context.Response.ContentType = "application/json; charset=utf-8";
throw new DException("未登录!");
throw new DException(ErrorCode.Unauthorized);
}
// 未认证 → Challenge → 302 重定向 CAS 登录页(ticket 校验与回跳由新框架 CasAuthenticationHandler 处理)