This commit is contained in:
邹宗楠
2022-10-12 20:04:01 +08:00
parent 089d73664a
commit ae6e3b872c

View File

@@ -1,9 +1,11 @@
package tiktok_api
import (
"fmt"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"testing"
"time"
)
func TestApi(t *testing.T) {
@@ -30,3 +32,8 @@ func TestRefaseToken(t *testing.T) {
a.CreateToken("41155cd5-d30f-4075-9c44-b75ffa1a84ee")
//{"access_token":"37f41ac7-49ac-4848-a0ee-ea86bb0dfd9f","expires_in":519389,"scope":"SCOPE","shop_id":"","shop_name":"抖店开放平台测试专用店","refresh_token":"3dd8f638-fdf1-46e7-b974-88df382f03c6","authority_id" :""}
}
func TestTimeNow(t *testing.T) {
h, m, s := time.Now().Clock()
fmt.Println(h, m, s)
}