go-common/app/admin/openplatform/sug/http/season.go

25 lines
425 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package http
import (
"go-common/app/admin/openplatform/sug/model"
bm "go-common/library/net/http/blademaster"
)
func matchOperate(c *bm.Context) {
v := &model.MatchOperate{}
c.Bind(v)
c.JSON(srv.MatchOperate(c, v))
}
func search(c *bm.Context) {
v := &model.Search{}
c.Bind(v)
c.JSON(srv.Search(c, v))
}
func sourceSearch(c *bm.Context) {
v := &model.SourceSearch{}
c.Bind(v)
c.JSON(srv.SourceSearch(c, v))
}