ls 3 years ago
parent
commit
7c4659fbe3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wechat/server.go

+ 1 - 1
wechat/server.go

@@ -14,7 +14,7 @@ func keyServer(appid string) string {
 
 // NewServer new Server
 func NewServer(appID, appSecret, token, encodingAESKey string) *Server {
-	key := keyServer1(appID)
+	key := keyServer(appID)
 	if v, ok := memcache.Load(key); ok {
 		return v.(*Server)
 	}