notice.go 246 B

12345678910111213
  1. package http
  2. import (
  3. "strconv"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. func notice(c *bm.Context) {
  7. params := c.Request.Form
  8. build, _ := strconv.Atoi(params.Get("build"))
  9. c.JSON(artSrv.Notice(params.Get("platform"), build), nil)
  10. }