实现category service基础接口
This commit is contained in:
@ -92,3 +92,9 @@ func (s *CategoryServer) CheckAlias(ctx context.Context, in *category.CheckAlias
|
||||
l := logic.NewCheckAliasLogic(ctx, s.svcCtx)
|
||||
return l.CheckAlias(in)
|
||||
}
|
||||
|
||||
// 根据系统ID获取分类
|
||||
func (s *CategoryServer) GetSystemCategories(ctx context.Context, in *category.GetSystemCategoriesRequest) (*category.GetSystemCategoriesResponse, error) {
|
||||
l := logic.NewGetSystemCategoriesLogic(ctx, s.svcCtx)
|
||||
return l.GetSystemCategories(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user