1
This commit is contained in:
@@ -16,16 +16,18 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestName(t *testing.T) {
|
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) {
|
func TestGetOrderDetail(t *testing.T) {
|
||||||
requestParam := &request591.AlibabaAelophyOrderGetRequest{OrderGetRequest: &domain591.AlibabaAelophyOrderGetOrderGetRequest{
|
requestParam := &request591.AlibabaAelophyOrderGetRequest{OrderGetRequest: &domain591.AlibabaAelophyOrderGetOrderGetRequest{
|
||||||
StoreId: utils.String2Pointer("JX668594"),
|
StoreId: utils.String2Pointer("JX668594"),
|
||||||
BizOrderId: utils.Int64ToPointer(5000900194372970922),
|
BizOrderId: utils.Int64ToPointer(5000902065494700922),
|
||||||
}}
|
}}
|
||||||
data, err := apiTao.QueryOrderDetail(requestParam)
|
data, err := apiTao.QueryOrderDetail(requestParam)
|
||||||
globals.SugarLogger.Debugf("data := %s", utils.Format4Output(data, false))
|
globals.SugarLogger.Debugf("data := %s", utils.Format4Output(data, false))
|
||||||
globals.SugarLogger.Debugf("err := %s", utils.Format4Output(err, 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) {
|
func TestPartialRefundReason(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user