This commit is contained in:
eson 2023-09-05 17:11:59 +08:00
parent 3a6eeb316b
commit ca6a10c373

View File

@ -80,6 +80,7 @@ func CommonNotify(WebsocketAddr, wid string, event *wevent.WebsocketEvent) error
}
result := wresp.Json()
logx.Error(result.String())
if result.Get("code").Int() != 200 {
return fmt.Errorf("%s", result.String())
}