mirror of https://github.com/rocboss/paopao-ce
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.
14 lines
351 B
14 lines
351 B
2 years ago
|
package core
|
||
|
|
||
|
import (
|
||
|
"github.com/rocboss/paopao-ce/internal/model"
|
||
|
)
|
||
|
|
||
|
// TopicService 话题服务
|
||
|
type TopicService interface {
|
||
|
CreateTag(tag *model.Tag) (*model.Tag, error)
|
||
|
DeleteTag(tag *model.Tag) error
|
||
|
GetTags(conditions *model.ConditionsT, offset, limit int) ([]*model.Tag, error)
|
||
|
GetTagsByKeyword(keyword string) ([]*model.Tag, error)
|
||
|
}
|