1
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
package tiktok_api
|
package tiktok_api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"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"
|
||||||
"testing"
|
"testing"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestApi(t *testing.T) {
|
func TestApi(t *testing.T) {
|
||||||
@@ -30,3 +32,8 @@ func TestRefaseToken(t *testing.T) {
|
|||||||
a.CreateToken("41155cd5-d30f-4075-9c44-b75ffa1a84ee")
|
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" :""}
|
//{"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)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user