1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-12 23:50:14 +02:00
This commit is contained in:
a624669980
2021-09-27 14:17:36 +08:00
parent 7fb9bd1d06
commit 2c1ca2b095
115 changed files with 404 additions and 12738 deletions

View File

@ -1,13 +1,12 @@
package zerotier
import (
httper2 "github.com/IceWhaleTech/CasaOS/pkg/utils/httper"
"github.com/tidwall/gjson"
"net/http"
httper2 "oasis/pkg/utils/httper"
)
func PostData(url,token string, data string) interface{} {
func PostData(url, token string, data string) interface{} {
body, code := httper2.ZeroTierPostJson(url, data, GetHead(token))