fix(controller): 修复登录验证失败返回值问题

- 修改riderPage方法中登录验证失败时的返回值格式
- 统一fail方法调用参数结构
This commit is contained in:
2026-02-06 23:18:26 +08:00
parent 922e7def9d
commit 1d63c5cdc8

View File

@@ -55,7 +55,7 @@ public class GltTicketOrderController extends BaseController {
public ApiResult<PageResult<GltTicketOrder>> riderPage(GltTicketOrderParam param) {
User loginUser = getLoginUser();
if (loginUser == null) {
return fail("请先登录");
return fail("请先登录", null);
}
Integer tenantId = getTenantId();
param.setTenantId(tenantId);