mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
This commit is contained in:
commit
b902c9f266
@ -194,7 +194,7 @@ func (ws *WsServer) wsHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
platformID, exists = context.Query(PlatformID)
|
platformID, exists = context.Query(PlatformID)
|
||||||
if !exists {
|
if !exists || utils.StringToInt(platformID) == 0 {
|
||||||
httpError(context, errs.ErrConnArgsErr)
|
httpError(context, errs.ErrConnArgsErr)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user