1
This commit is contained in:
@@ -22,7 +22,7 @@ func TestApi(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestQueryOrderDetail(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", utils.Format4Output(data, false))
|
||||||
globals.SugarLogger.Debugf("=====%s", err)
|
globals.SugarLogger.Debugf("=====%s", err)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import (
|
|||||||
"git.rosy.net.cn/jx-callback/globals"
|
"git.rosy.net.cn/jx-callback/globals"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCreateStore(t *testing.T) {
|
func TestCreateStore(t *testing.T) {
|
||||||
@@ -280,3 +281,7 @@ func TestGetWarehouseByStore(t *testing.T) {
|
|||||||
fmt.Println(resp)
|
fmt.Println(resp)
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestUtilsTime2Date(t *testing.T) {
|
||||||
|
fmt.Println(utils.Time2Date(time.Now()).Add(24 * time.Hour))
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user