2026-06-25 a26b31cc9f3ee9b21b1a754e80fa7359e8a7a8f8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package cn.iocoder.yudao.module.member.controller.app.social.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
 
 
@Schema(description = "用户 APP - 获得获取小程序码 Request VO")
@Data
public class AppSocialWxaQrcodeReqVO {
 
    /**
     * 页面路径不能携带参数(参数请放在scene字段里)
     */
    @Schema(description = "场景值", requiredMode = Schema.RequiredMode.REQUIRED, example = "1001")
    private String scene;
 
    /**
     * 默认是主页,页面 page,例如 pages/index/index,根路径前不要填加 /,不能携带参数(参数请放在scene字段里),
     * 如果不填写这个字段,默认跳主页面。scancode_time为系统保留参数,不允许配置
     */
    @Schema(description = "页面路径", requiredMode = Schema.RequiredMode.REQUIRED, example = "pages/goods/index")
    @NotEmpty(message = "页面路径不能为空")
    private String path;
 
    @Schema(description = "二维码宽度", requiredMode = Schema.RequiredMode.REQUIRED, example = "430")
    private Integer width;
 
    @Schema(description = "是/否自动配置线条颜色", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean autoColor;
 
    @Schema(description = "是/否检查 page 是否存在", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean checkPath;
 
    @Schema(description = "是/否需要透明底色", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean hyaline;
 
}