go-common/app/interface/main/app-resource/http/broadcast.go

15 lines
329 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package http
import (
"go-common/app/interface/main/app-resource/model"
bm "go-common/library/net/http/blademaster"
)
func serverList(c *bm.Context) {
params := c.Request.Form
mobiApp := params.Get("mobi_app")
device := params.Get("device")
plat := model.Plat(mobiApp, device)
c.JSON(broadcastSvc.ServerList(c, plat))
}