This commit is contained in:
eson
2023-09-05 17:35:33 +08:00
parent 4342e09699
commit 1d9b70aa18
2 changed files with 3 additions and 7 deletions

View File

@@ -67,6 +67,7 @@ func FinishRegister(svcCtx *svc.ServiceContext, user *gmodel.FsUser, token *auth
}
func CommonNotify(WebsocketAddr, wid string, event *wevent.WebsocketEvent) error {
reqWebsocketAddr := fmt.Sprintf("%s/api/websocket/common_notify", WebsocketAddr)
tp := requests.Post(reqWebsocketAddr)
tp.SetBodyJson(requests.M{