This commit is contained in:
cdle
2021-09-02 22:23:14 +08:00
parent 7531fd5ece
commit 8f4146b7bb
5 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func getToken() (string, error) {
req := httplib.Get(fmt.Sprintf("%s/open/auth/token?client_id=%s&client_secret=%s", Config.Host, Config.ClientID, Config.ClientSecret))
data, err := req.Bytes()
if err != nil {
msg := fmt.Sprintf("青龙接失败:%v", err)
msg := fmt.Sprintf("青龙接失败:%v", err)
logs.Warn(msg)
return "", errors.New(msg)
}