1
This commit is contained in:
@@ -9,9 +9,5 @@ import (
|
||||
|
||||
// CategoryList 联盟分类列表(客户端 chips)
|
||||
func (c *cps) CategoryList(ctx context.Context, req *dto.CpsCategoryListReq) (res *dto.CpsCategoryListRes, err error) {
|
||||
list, err := service.CpsCategoryService.List(ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &dto.CpsCategoryListRes{List: list}, nil
|
||||
return service.CpsCategoryService.List(ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user