update: 更新模型列表查询接口以支持私有化过滤
This commit is contained in:
@@ -52,7 +52,7 @@ func (c *model) ListModel(ctx context.Context, req *dto.ListModelReq) (res *dto.
|
||||
pageSize = req.PageSize
|
||||
}
|
||||
}
|
||||
list, total, err := service.Model.List(ctx, pageNum, pageSize, req.ModelName, req.ModelType)
|
||||
list, total, err := service.Model.List(ctx, pageNum, pageSize, req)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user