1
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
package tiktok_api
|
package tiktok_api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
"git.rosy.net.cn/jx-callback/globals"
|
||||||
@@ -34,23 +33,3 @@ type tete struct {
|
|||||||
func TestGetStoreAutoCallRiderInfo(t *testing.T) {
|
func TestGetStoreAutoCallRiderInfo(t *testing.T) {
|
||||||
a.GetStoreAutoCallRiderInfo(64212030)
|
a.GetStoreAutoCallRiderInfo(64212030)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestMap2(t *testing.T) {
|
|
||||||
aa := `{
|
|
||||||
"四川":[
|
|
||||||
{"张淋":"18981810340"},{"李伟达":"18988808752"},
|
|
||||||
{"张淋":"18981810340"},{"李伟达":"18988808752"}
|
|
||||||
],
|
|
||||||
"广州":[
|
|
||||||
{"张淋":"18981810340"},{"李伟达":"18988808752"},
|
|
||||||
{"张淋":"18981810340"},{"李伟达":"18988808752"}
|
|
||||||
],
|
|
||||||
"西安":[
|
|
||||||
{"张淋":"18981810340"},{"李伟达":"18988808752"},
|
|
||||||
{"张淋":"18981810340"},{"李伟达":"18988808752"}
|
|
||||||
]
|
|
||||||
}`
|
|
||||||
list := make(map[string][]map[string]string, 0)
|
|
||||||
json.Unmarshal([]byte(aa), &list)
|
|
||||||
t.Log(list)
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user