This commit is contained in:
cdle
2021-09-10 12:44:52 +08:00
parent 41e6c518da
commit 22fdf55d17
5 changed files with 122 additions and 32 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func getToken() (string, error) {
return token, nil
}
func req(ps ...interface{}) error {
func Req(ps ...interface{}) error {
token, err := getToken()
if err != nil {
return err