go-common/app/admin/main/activity/http/archive.go
2019-04-22 18:49:16 +08:00

15 lines
253 B
Go

package http
import (
"go-common/app/admin/main/activity/model"
bm "go-common/library/net/http/blademaster"
)
func archives(c *bm.Context) {
p := &model.ArchiveParam{}
if err := c.Bind(p); err != nil {
return
}
c.JSON(actSrv.Archives(c, p))
}