fix(controller): 修复登录验证失败返回值问题
- 修改riderPage方法中登录验证失败时的返回值格式 - 统一fail方法调用参数结构
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user