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.
 
 
 

24 lines
425 B

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))
}