lrj
1 天以前 9f8395fab13ca4b230a0f7d62636e209745c91d4
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
package com.rongyichuang.auth.dto;
 
/**
 * 微信登录请求
 */
public class WxLoginRequest {
    
    /**
     * 微信小程序登录code
     */
    private String code;
    
    /**
     * 微信openid
     */
    private String wxOpenid;
    
    /**
     * 微信unionid
     */
    private String wxUnionid;
    
    /**
     * 登录IP地址
     */
    private String loginIp;
    
    /**
     * 设备信息
     */
    private String deviceInfo;
    
    /**
     * 会话密钥
     */
    private String sessionKey;
    
    /**
     * 是否授权手机号
     */
    private Boolean phoneAuthorized;
    
    /**
     * 授权的手机号(如果已授权)
     */
    private String phone;
 
    public WxLoginRequest() {}
 
    public WxLoginRequest(String code, String wxOpenid, String wxUnionid) {
        this.code = code;
        this.wxOpenid = wxOpenid;
        this.wxUnionid = wxUnionid;
    }
 
    public String getCode() {
        return code;
    }
 
    public void setCode(String code) {
        this.code = code;
    }
 
    public String getWxOpenid() {
        return wxOpenid;
    }
 
    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }
 
    public String getWxUnionid() {
        return wxUnionid;
    }
 
    public void setWxUnionid(String wxUnionid) {
        this.wxUnionid = wxUnionid;
    }
 
    public String getLoginIp() {
        return loginIp;
    }
 
    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }
 
    public String getDeviceInfo() {
        return deviceInfo;
    }
 
    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }
 
    public String getSessionKey() {
        return sessionKey;
    }
 
    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }
 
    public Boolean getPhoneAuthorized() {
        return phoneAuthorized;
    }
 
    public void setPhoneAuthorized(Boolean phoneAuthorized) {
        this.phoneAuthorized = phoneAuthorized;
    }
 
    public String getPhone() {
        return phone;
    }
 
    public void setPhone(String phone) {
        this.phone = phone;
    }
}