diff --git a/server/statserver/controller/stat.go b/server/statserver/controller/stat.go index 48a9e25d..f2397931 100644 --- a/server/statserver/controller/stat.go +++ b/server/statserver/controller/stat.go @@ -22,3 +22,14 @@ func (this *Stat) caUpdateSession(c *gin.Context) { } c.JSON(200, rspObj) } + +func (this *Stat) caGetonlineNum(c *gin.Context) { + rspObj := struct { + ErrCode int32 `json:"errcode"` + ErrMsg string `json:"errmsg"` + }{ + ErrCode: 0, + ErrMsg: "", + } + c.JSON(200, rspObj) +}