From a8a845cb33fe0a87f6a439bf380bbd0df517698f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 25 May 2024 12:56:03 +0800 Subject: [PATCH] 1 --- server/statserver/controller/stat.go | 11 +++++++++++ 1 file changed, 11 insertions(+) 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) +}