添加美团配送运费获取

This commit is contained in:
邹宗楠
2023-08-23 15:17:50 +08:00
parent fe68387bf9
commit 382cc6a67f
2 changed files with 34 additions and 1 deletions

View File

@@ -77,7 +77,18 @@ func TestOrderApplyPartRefund(t *testing.T) {
}
func TestOrderLogisticsStatus(t *testing.T) {
result, err := api.OrderLogisticsStatus(140382472052682640)
result, err := api.OrderLogisticsStatus(1100687990339131759)
if err != nil {
t.Fatal(err)
}
if result == 0 {
t.Fatal("result should have value")
}
t.Log(utils.Format4Output(result, false))
}
func TestOrderLogisticsFee(t *testing.T) {
result, err := api.OrderLogisticsFee(1100687990339131759)
if err != nil {
t.Fatal(err)
}