go-common/app/interface/openplatform/article/http/notice.go

14 lines
246 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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)
}