1
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -15,11 +16,11 @@ var (
|
||||
|
||||
func Test(t *testing.T) {
|
||||
api := New(appKey, appSecret, appCode)
|
||||
result, err := api.GetLogisticsInfo("78652277511810")
|
||||
result, err := api.GetLogisticsInfo("88509825167028")
|
||||
globals.SugarLogger.Debugf("result======== %s", utils.Format4Output(result, false))
|
||||
globals.SugarLogger.Debugf("err======== %s", utils.Format4Output(err, false))
|
||||
}
|
||||
|
||||
func TestSkuStatus(t *testing.T) {
|
||||
fmt.Println(2&(4|2|1) != 0)
|
||||
fmt.Println(time.Since(utils.Str2Time("2026-03-18 00:00:00")) >= 3*24*time.Hour)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user