wlzboy
7 天以前 09e6dc3fb7266620fafb5e341808a8eb36e080a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.ruoyi.payment.infrastructure.config;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * 二维码配置
 * 
 * @author ruoyi
 */
@Data
@Component
@ConfigurationProperties(prefix = "payment.qrcode")
public class QrCodeConfig {
 
    /** 二维码尺寸 */
    private Integer size = 300;
 
    /** 图片格式 */
    private String format = "PNG";
}