diff --git a/admin.client.go b/admin.client.go index 997f1a7..d209946 100644 --- a/admin.client.go +++ b/admin.client.go @@ -18,7 +18,7 @@ func GetByToken(dbname, token string, url ...string) (map[string]string, error) defer conn.Close() data := GetByTokenReq{} - data.SiteId = token + data.Token = token data.Dbname = dbname req, err := SetReqData(data)