huyao
2022-09-29 50e0d4741b19a5071741b200ff76a4d69504fce3
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
package com.dsh.app.util.pay.wechat;
 
/**
 * 微信小程序登录参数
 */
public class WxShinParam {
 
    private String WxAppid;
    private String WxSecret;
    private String WxJsCode;
    public String getWxAppid() {
        return WxAppid;
    }
 
    public void setWxAppid(String wxAppid) {
        WxAppid = wxAppid;
    }
 
    public String getWxSecret() {
        return WxSecret;
    }
 
    public void setWxSecret(String wxSecret) {
        WxSecret = wxSecret;
    }
 
    public String getWxJsCode() {
        return WxJsCode;
    }
 
    public void setWxJsCode(String wxJsCode) {
        WxJsCode = wxJsCode;
    }
 
 
    public String getParam() {
       String param= "?appid="+WxAppid+"&secret="+WxSecret+"&js_code="+WxJsCode+"&grant_type=authorization_code";
        return param ;
    }
}