You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
450 B

package service
import (
"context"
"go-common/app/admin/main/creative/model/material"
)
// CategoryByID .
func (s *Service) CategoryByID(c context.Context, id int64) (cate *material.Category, err error) {
return s.dao.CategoryByID(c, id)
}
// BindWithCategory .
func (s *Service) BindWithCategory(c context.Context, MaterialID, CategoryID, index int64) (id int64, err error) {
return s.dao.BindWithCategory(c, MaterialID, CategoryID, index)
}