archive.go 253 B

1234567891011121314
  1. package http
  2. import (
  3. "go-common/app/admin/main/activity/model"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. func archives(c *bm.Context) {
  7. p := &model.ArchiveParam{}
  8. if err := c.Bind(p); err != nil {
  9. return
  10. }
  11. c.JSON(actSrv.Archives(c, p))
  12. }