This commit is contained in:
邹宗楠
2022-11-02 18:02:20 +08:00
parent 7949539a91
commit 4986449574
2 changed files with 6 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ func TestApi(t *testing.T) {
}
func TestQueryOrderDetail(t *testing.T) {
data, err := a.GetTiktokOrderDetail("4994436461423172838")
data, err := a.GetTiktokOrderDetail("4996263656479857894")
globals.SugarLogger.Debugf("=====%s", utils.Format4Output(data, false))
globals.SugarLogger.Debugf("=====%s", err)
}

View File

@@ -17,6 +17,7 @@ import (
"git.rosy.net.cn/jx-callback/globals"
"strings"
"testing"
"time"
)
func TestCreateStore(t *testing.T) {
@@ -280,3 +281,7 @@ func TestGetWarehouseByStore(t *testing.T) {
fmt.Println(resp)
fmt.Println(err)
}
func TestUtilsTime2Date(t *testing.T) {
fmt.Println(utils.Time2Date(time.Now()).Add(24 * time.Hour))
}