broadcast.go 329 B

1234567891011121314
  1. package http
  2. import (
  3. "go-common/app/interface/main/app-resource/model"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. func serverList(c *bm.Context) {
  7. params := c.Request.Form
  8. mobiApp := params.Get("mobi_app")
  9. device := params.Get("device")
  10. plat := model.Plat(mobiApp, device)
  11. c.JSON(broadcastSvc.ServerList(c, plat))
  12. }