How to scan the QR code of the screen and obtain the ip of the mobile phone by react+nodejs

1. Go to a page and initiate a request to the server. The server generates the QR code
2. After the QR code of the scan screen of the phone, the front end can obtain the ip, of the phone and store the ip in the cookie or session of the browser for other pages to call the phone ip

.
Dec.28,2021
The

QR code is actually encoding a string.
when the server generates a QR code, don't you just write ip to the phone?


well, now I've got the ip, in the server's get method, but how can this ip be transferred to the browser's cookie for the front end to call

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e47394-43943.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e47394-43943.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?