@@ -126,6 +126,9 @@ func HandshakeHandler(ctx *gin.Context) {
|
||||
CheckErr(err)
|
||||
randKey := params.Get("randkey")
|
||||
deviceId := params.Get("deviceid")
|
||||
if deviceId == "" {
|
||||
deviceId = ctx.Request.Header.Get("X-DEVICEID")
|
||||
}
|
||||
// fmt.Println(randKey)
|
||||
// fmt.Println(deviceId)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user