You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
273 B
Go
13 lines
273 B
Go
![]()
3 weeks ago
|
package article
|
||
|
|
||
|
import (
|
||
|
"cls-server/pkg/util/page"
|
||
|
"xorm.io/builder"
|
||
|
)
|
||
|
|
||
|
type ArticleRepository interface {
|
||
|
Find(page *page.Page, conds []builder.Cond) error
|
||
|
GetArticleById(id uint64) (*LianV1Article, error)
|
||
|
GetArticlesByIds(id []uint64) (*[]*LianV1Article, error)
|
||
|
}
|