mirror of
https://github.com/Jinnrry/PMail.git
synced 2025-02-20 11:43:09 +08:00
Merge branch 'master' of https://github.com/Jinnrry/PMail into v2.4.8
This commit is contained in:
commit
b55c855593
@ -72,6 +72,7 @@ func (w *WeChatPushHook) getWxAccessToken() string {
|
||||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
body, _ := io.ReadAll(resp.Body)
|
||||
var ret accessTokenRes
|
||||
_ = json.Unmarshal(body, &ret)
|
||||
|
Loading…
x
Reference in New Issue
Block a user