go-common/app/interface/main/web/http/online.go

14 lines
215 B
Go
Raw Normal View History

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