Mobile phone H5 camera

  In recent work, I have encountered a requirement: for those who do not have APP login permission, the function of taking pictures and uploading is provided, so as to generate more complete work records. After research and discussion, it was decided to implement the mechanism as follows: legal personnel log in to the APP to claim the relevant work tasks, and generate a unique QR code for the day's work. Those without APP login permission scan the QR code and use the H5 page to take selfies. Complete work records. I was in charge of the H5 taking photos and saving the photo information. This part of the work is highly independent, and there are also many difficult solutions worth recording. So I wrote this article and wrote a demo in github . Hope to help those in need.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324929522&siteId=291194637