dingdingtoken

This commit is contained in:
苏尹岚
2020-12-09 15:53:27 +08:00
parent 3de8b4ca4d
commit 4f89bc32d1
2 changed files with 19 additions and 2 deletions

View File

@@ -108,8 +108,6 @@ func (h *Hub) GetToken(tokenType, oldToken string, waitTime time.Duration) (toke
}
case EventTypePushToken:
token = api.PushAPI.CBGetToken()
case EventTypeWX2Token:
token = api.WeixinMiniAPI2.CBGetToken()
}
if token != oldToken {