season.go 425 B

123456789101112131415161718192021222324
  1. package http
  2. import (
  3. "go-common/app/admin/openplatform/sug/model"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. func matchOperate(c *bm.Context) {
  7. v := &model.MatchOperate{}
  8. c.Bind(v)
  9. c.JSON(srv.MatchOperate(c, v))
  10. }
  11. func search(c *bm.Context) {
  12. v := &model.Search{}
  13. c.Bind(v)
  14. c.JSON(srv.Search(c, v))
  15. }
  16. func sourceSearch(c *bm.Context) {
  17. v := &model.SourceSearch{}
  18. c.Bind(v)
  19. c.JSON(srv.SourceSearch(c, v))
  20. }