commit code
This commit is contained in:
@ -98,3 +98,9 @@ func (s *CategoryServer) GetSystemCategories(ctx context.Context, in *category.G
|
||||
l := logic.NewGetSystemCategoriesLogic(ctx, s.svcCtx)
|
||||
return l.GetSystemCategories(in)
|
||||
}
|
||||
|
||||
// 获取某一个类别的完整类别(从根类别到当前类别的所有类别)
|
||||
func (s *CategoryServer) GetFullCategories(ctx context.Context, in *category.GetCategoryRequest) (*category.GetFullCategoriesResponse, error) {
|
||||
l := logic.NewGetFullCategoriesLogic(ctx, s.svcCtx)
|
||||
return l.GetFullCategories(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user