|
@ -25,7 +25,11 @@ import com.google.zxing.client.j2se.BufferedImageLuminanceSource;
|
25
|
25
|
import com.google.zxing.common.BitMatrix;
|
26
|
26
|
import com.google.zxing.common.HybridBinarizer;
|
27
|
27
|
import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;
|
|
28
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
29
|
import org.springframework.stereotype.Component;
|
28
|
30
|
|
|
31
|
|
|
32
|
@Component
|
29
|
33
|
public class QRCodeUtils {
|
30
|
34
|
private static final String CHARSET = "utf-8";
|
31
|
35
|
private static final String FORMAT_NAME = "JPG";
|