This commit is contained in:
邹宗楠
2023-07-14 17:08:20 +08:00
parent bc22d1a4d0
commit cb312339d4

View File

@@ -16,16 +16,18 @@ import (
)
func TestName(t *testing.T) {
earliestTime := utils.Str2Time("2023-07-14 17:30:00").Unix()
fmt.Println(earliestTime - time.Now().Unix())
}
func TestGetOrderDetail(t *testing.T) {
requestParam := &request591.AlibabaAelophyOrderGetRequest{OrderGetRequest: &domain591.AlibabaAelophyOrderGetOrderGetRequest{
StoreId: utils.String2Pointer("JX668594"),
BizOrderId: utils.Int64ToPointer(5000900194372970922),
BizOrderId: utils.Int64ToPointer(5000902065494700922),
}}
data, err := apiTao.QueryOrderDetail(requestParam)
globals.SugarLogger.Debugf("data := %s", utils.Format4Output(data, false))
globals.SugarLogger.Debugf("err := %s", utils.Format4Output(err, false))
globals.SugarLogger.Debugf("errdatadatadata := %s", utils.Format4Output(utils.Str2Int(*data.StoreId), false))
}
func TestPartialRefundReason(t *testing.T) {