This commit is contained in:
邹宗楠
2026-03-25 09:13:07 +08:00
parent 93bd28290d
commit c740630ce6
31 changed files with 2077 additions and 556 deletions

View File

@@ -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)
}