go-common/app/interface/main/web/http/online.go
2019-04-22 18:49:16 +08:00

14 lines
215 B
Go

package http
import (
bm "go-common/library/net/http/blademaster"
)
func onlineInfo(c *bm.Context) {
c.JSON(webSvc.OnlineArchiveCount(c), nil)
}
func onlineList(c *bm.Context) {
c.JSON(webSvc.OnlineList(c))
}