/// <summary>
 /// 构建JDK对象
 /// </summary>
 /// <param name="appId">微信公众账号的AppId</param>
 /// <param name="appSecret">公众账号的appSecret</param>
 /// <param name="debug">是否调试</param>
 public JSSDK(string appId, string appSecret, bool debug = false)
 {
     this.appId = appId;
     this.appSecret = appSecret;
     this._cache = SimpleCacheProvider.GetInstance();
     this._debug = debug;
 }
 public static SimpleCacheProvider GetInstance()
 {
     if (_instance == null) _instance = new SimpleCacheProvider();
     return _instance;
 }