Blame view

src/main/java/com/jfinal/wxaapp/WxaConfig.java 1.37 KB
e80df919   atao   init
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
  /**
   * Copyright (c) 2011-2014, L.cm 卢春梦 (qq596392912@gmail.com).
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   */
  
  package com.jfinal.wxaapp;
  
  import java.io.Serializable;
  
  /**
   * 微信小程序配置
   * @author L.cm
   *
   */
  public class WxaConfig implements Serializable {
      private static final long serialVersionUID = 8274925821039698118L;
      
      private String appId = null;
      private String appSecret = null;
      private String token = null;
      private String encodingAesKey = null;
      private boolean messageEncrypt = false;    // 消息加密与否
      
      public String getAppId() {
          return appId;
      }
      public void setAppId(String appId) {
          this.appId = appId;
      }
      public String getAppSecret() {
          return appSecret;
      }
      public void setAppSecret(String appSecret) {
          this.appSecret = appSecret;
      }
      public String getToken() {
          return token;
      }
      public void setToken(String token) {
          this.token = token;
      }
      public String getEncodingAesKey() {
          return encodingAesKey;
      }
      public void setEncodingAesKey(String encodingAesKey) {
          this.encodingAesKey = encodingAesKey;
      }
      public boolean isMessageEncrypt() {
          return messageEncrypt;
      }
      public void setMessageEncrypt(boolean messageEncrypt) {
          this.messageEncrypt = messageEncrypt;
      }
  }