Mobile phone scan code upload attachment ideas!

scenario description:

the webside program generates a QR code. After scanning the phone, open a page, click on the upload attachment, and display it on the computer page in time after success.

question:

  1. currently, mobile browsers do not support batch upload of multiple attachments
  2. after uploading on the mobile phone, how can the webside refresh the local page and display the picture in time, because after the backend upload is successful, information will be returned? how can it return to the web page that is being opened on the computer, and the web page can receive feedback in a timely manner? How should the receptionist receive this feedback? Ask the boss for advice! Thank you ~
Mar.10,2021

1. For the second condition, you may need to generate a QR code on the web side to start polling to query the status of the file uploaded by the user and whether the api, has been uploaded successfully.
2. What does it mean to upload multiple attachments? can't you upload multiple files?


1. The size and number of files uploaded by mobile phone are limited
2. After uploading successfully using socket, the push success message tells the PC page


if you cannot upload multiple files, you can dynamically build several file controls
notify the backend after uploading successfully. If the browser does not consider compatibility, you can use websocket to notify pc, or you can only poll


.

1. Use ajax to upload the code after scanning the code on the mobile phone

  

has the same needs as yours. How did you solve it in the end?

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-1e3c37c-433c5.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-1e3c37c-433c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?