This commit is contained in:
xxj
2023-11-22 21:55:34 +08:00
parent f7305c2317
commit e2cb0e8086

View File

@@ -74,7 +74,7 @@ func (_wx *wxTools) GetAccessToken() (accessToken string, err error) {
return
}
//保存缓存
_wx.cache.Add(_wx.client.AppId, &accessToken, time.Duration(7000)*time.Second)
_wx.cache.Add(_wx.client.AppId, accessToken, time.Duration(7000)*time.Second)
//------------------end
}
//----------------------end