浏览代码

修改文档

5 年之前
父节点
当前提交
07b05cf7db

二进制
api_test/api_test


+ 8 - 6
api_test/main.go

@@ -16,9 +16,9 @@ var (
 	//	appid  = "jyNjdXQgUDAwdaTklMPz5i"
 	//	key    = "404M0v2j"
 	//	apiurl = "http://127.0.0.1:8801"
-	appid  = "jyPz5XQgMABgVeTkdOMTBx"
-	key    = "349300qe"
-	apiurl = "https://api.jianyu360.com"
+	appid  = "jyOh1XQgUJBQ5bTUlKCyZ1"
+	key    = "56IrWR74"
+	apiurl = "https://testapi.jianyu360.com"
 )
 
 func main() {
@@ -30,9 +30,10 @@ func getToken() (token string) {
 	res := post(apiurl+"/user/access_token", map[string]string{
 		"appid":     appid,
 		"timestamp": tm,
+		//"key":       "6PzV0CUa",
 		"signature": MD5(appid + tm + key),
 	})
-	log.Println(res)
+	log.Println(tm, MD5(appid+tm+key), res)
 	if res != nil && res["access_token"] != "" {
 		token, _ = res["access_token"].(string)
 	}
@@ -43,9 +44,10 @@ func getData() {
 	token := getToken()
 	data := post(apiurl+"/data/getalldata", map[string]string{
 		"access_token": token,
-		"day":          "0",
-		"next":         "1",
+		//"day":          "-3",
+		"next": "0",
 	})
+	//s, _ := json.Marshal(data["data"])
 	log.Println(data)
 }
 

+ 10 - 0
api_test/uncodeid_test.go

@@ -0,0 +1,10 @@
+package main
+
+import (
+	"testing"
+)
+
+func Test_uncodeid(t testing.T) {
+	id := "QQsWcmsnb1NVCF1FCUZ6aCdsVwNVWk1X"
+
+}

二进制
api文档/企业级数据服务接口/剑鱼标讯企业级数据服务接口_v2.0.1.doc


二进制
api文档/企业级数据服务接口/剑鱼标讯企业级数据服务接口_v2.0.2(新华三).doc


二进制
api文档/企业级数据服务接口/剑鱼标讯企业级数据服务接口_v2.0.2.doc


二进制
api文档/剑鱼企业级数据服务接口_v1.6.1.doc