dev #63
@ -106,9 +106,9 @@ export default async function request(req: any) {
 | 
				
			|||||||
        httpRequest.destroy();
 | 
					        httpRequest.destroy();
 | 
				
			||||||
        switch (code){
 | 
					        switch (code){
 | 
				
			||||||
        //断网
 | 
					        //断网
 | 
				
			||||||
            case 2300007: return 2300007
 | 
					            case 2300007: return {code:2300007}
 | 
				
			||||||
        // 超时
 | 
					        // 超时
 | 
				
			||||||
            case 2300028: return 2300028
 | 
					            case 2300028: return {code:2300028}
 | 
				
			||||||
            default:
 | 
					            default:
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return {code:e.code}
 | 
					        return {code:e.code}
 | 
				
			||||||
 | 
				
			|||||||
@ -200,7 +200,7 @@ export default class Judge {
 | 
				
			|||||||
      handleUdp(msg)
 | 
					      handleUdp(msg)
 | 
				
			||||||
      const udpIndex = globalThis.udpIndex;
 | 
					      const udpIndex = globalThis.udpIndex;
 | 
				
			||||||
      if (udpIndex % 5 === 0) {
 | 
					      if (udpIndex % 5 === 0) {
 | 
				
			||||||
        // handDistance();
 | 
					        handDistance();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user