优化微信服务

master
李光春 2 years ago
parent f18d18d7a2
commit 4ad16ecb9d

@ -1,13 +1,9 @@
package wechatoffice
import (
"errors"
)
import "errors"
// AuthGetJsapiTicketMonitor 监控api_ticket
func (app *App) AuthGetJsapiTicketMonitor(qdType string) error {
result := app.GetCallBackIp()
if len(result.Result.IpList) <= 0 {
switch qdType {
case QdTypeDb:
app.GetJsapiTicketDb()
@ -19,5 +15,3 @@ func (app *App) AuthGetJsapiTicketMonitor(qdType string) error {
return errors.New("驱动类型不在范围内")
}
}
return nil
}

Loading…
Cancel
Save