1
zhujie
5 天以前 ec15861e14c66c38b1a8f5fffc6975d7da6c315c
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
package com.mzl.flower.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
import java.util.Map;
 
@Configuration
@ConfigurationProperties(prefix = "wechat")
public class WxMiniappProperties {
    private Miniapp customer;
    private Miniapp supplier;
    private Miniapp partner;
 
    private String merchantId;
 
    public String getMerchantId() {
        return merchantId;
    }
 
    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }
 
    public Miniapp getCustomer() {
        return customer;
    }
 
    public void setCustomer(Miniapp customer) {
        this.customer = customer;
    }
 
    public Miniapp getSupplier() {
        return supplier;
    }
 
    public void setSupplier(Miniapp supplier) {
        this.supplier = supplier;
    }
 
    public Miniapp getPartner() {
        return partner;
    }
 
    public void setPartner(Miniapp partner) {
        this.partner = partner;
    }
 
    public static class Miniapp {
        private String appid;
        private String secret;
 
        public String getAppid() {
            return appid;
        }
 
        public void setAppid(String appid) {
            this.appid = appid;
        }
 
        public String getSecret() {
            return secret;
        }
 
        public void setSecret(String secret) {
            this.secret = secret;
        }
    }
}