Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode

test-errcode
wangchuxiao 2 years ago
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…
Cancel
Save