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
package com.ruoyi.auth.form;
 
import jakarta.validation.constraints.NotBlank;
 
/**
 * 手机号一键登录对象
 *
 * @author hugray
 */
public class PhoneLoginBody
{
    /**
     * 微信 getPhoneNumber 回调返回的动态令牌(e.detail.code)
     */
    @NotBlank(message = "微信授权凭证不能为空")
    private String code;
 
    public String getCode()
    {
        return code;
    }
 
    public void setCode(String code)
    {
        this.code = code;
    }
}