🎇 支持mysql
This commit is contained in:
@@ -42,4 +42,4 @@ func RefreshTokenAll() string {
|
||||
return res[:len(res)-1]
|
||||
}
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
@@ -155,7 +155,7 @@ func DoPost(url string, request interface{}, auth string) (body []byte, err erro
|
||||
return
|
||||
}
|
||||
if auth != "" {
|
||||
req.Header.Set("authorization", conf.Bearer + auth)
|
||||
req.Header.Set("authorization", conf.Bearer+auth)
|
||||
}
|
||||
req.Header.Add("content-type", "application/json")
|
||||
req.Header.Add("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36")
|
||||
|
Reference in New Issue
Block a user