diff --git a/platformapi/mtunionapi/order.go b/platformapi/mtunionapi/order.go index fa884491..807692ea 100644 --- a/platformapi/mtunionapi/order.go +++ b/platformapi/mtunionapi/order.go @@ -12,9 +12,9 @@ const ( MtUnionOrderTypeHF = 5 //话费订单 MtUnionOrderTypeSG = 6 //闪购订单 - MtUnionOrderStatusPay = "1" //已付款 - MtUnionOrderStatusFinished = "8" //已完成 - MtUnionOrderStatusCanceled = "9" //已退款或风控 + MtUnionOrderStatusPay = 1 //已付款 + MtUnionOrderStatusFinished = 8 //已完成 + MtUnionOrderStatusCanceled = 9 //已退款或风控 defaultPageSize = 50 ) diff --git a/platformapi/pddapi/order_test.go b/platformapi/pddapi/order_test.go index a4a93a55..b64a5c55 100644 --- a/platformapi/pddapi/order_test.go +++ b/platformapi/pddapi/order_test.go @@ -15,7 +15,7 @@ func TestOrderListRangeGet(t *testing.T) { } func TestOrderDetailGet(t *testing.T) { - result, err := api.OrderDetailGet("210429-173092373722098") + result, err := api.OrderDetailGet("210506-020860160903116") if err != nil { t.Fatal(err) }