package com.seer.teach.mp.app.controller.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

/**
 * JS-SDK签名请求参数
 */
@Data
@Schema(description = "JS-SDK签名请求参数")
public class JsapiSignatureReq {

    @NotEmpty(message = "URL不能为空")
    @Schema(description = "当前网页的URL，不包含#及其后面部分")
    private String url;

    @NotEmpty(message = "appId不能为空")
    @Schema(description = "公众号的唯一标识")
    private String appId;
}