go-common/app/interface/openplatform/article/http/notice.go
2019-04-22 18:49:16 +08:00

14 lines
246 B
Go

package http
import (
"strconv"
bm "go-common/library/net/http/blademaster"
)
func notice(c *bm.Context) {
params := c.Request.Form
build, _ := strconv.Atoi(params.Get("build"))
c.JSON(artSrv.Notice(params.Get("platform"), build), nil)
}