Home > Back-end >  How Java compression string
How Java compression string

Time:03-26

To the string to qr code, the length can not too long, need to string compression save, scanning again after decompression, string error remains the same

CodePudding user response:

Can change the idea, to generate a short code, to the mapping relationship short code and source code stored in the database

CodePudding user response:

Can give a string defining a ID, use the ID to generate qr code

CodePudding user response:

Oneself said not, depends on who is scanning, who took over after scanning,

CodePudding user response:

reference 1st floor huoxin4415 response:
can change the way of thinking, to generate a short code, to the mapping relationship short code and source code stored in the database

Generate and scanning are two projects, there may be internal and external network scenario, so can't save mapping relation to the database
  • Related