From 198be5394d9c4b798b8cfa7ee6462d304c27497e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 21 Feb 2025 09:56:42 +0800 Subject: [PATCH] 1 --- .../tiktok_shop/tiktok_api/transport_test.go | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/platformapi/tiktok_shop/tiktok_api/transport_test.go b/platformapi/tiktok_shop/tiktok_api/transport_test.go index 44e15c6b..733d2c90 100644 --- a/platformapi/tiktok_shop/tiktok_api/transport_test.go +++ b/platformapi/tiktok_shop/tiktok_api/transport_test.go @@ -1,7 +1,6 @@ package tiktok_api import ( - "encoding/json" "fmt" "git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/jx-callback/globals" @@ -34,23 +33,3 @@ type tete struct { func TestGetStoreAutoCallRiderInfo(t *testing.T) { 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) -}