1
This commit is contained in:
@@ -69,7 +69,7 @@ func TestCancel(t *testing.T) {
|
|||||||
//
|
//
|
||||||
func TestQueryOrderInfo(t *testing.T) {
|
func TestQueryOrderInfo(t *testing.T) {
|
||||||
dadaapi = New("dada154e2a41fd6cef3", "7f97d8f258b70b450f04e7ab274ed8f8", "6660", "http://callback.jxc4.com/dadadelivery/msg", true)
|
dadaapi = New("dada154e2a41fd6cef3", "7f97d8f258b70b450f04e7ab274ed8f8", "6660", "http://callback.jxc4.com/dadadelivery/msg", true)
|
||||||
result, err := dadaapi.QueryOrderInfo("88421859678001")
|
result, err := dadaapi.QueryOrderInfo("1100558421786954920")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ func TestPreCreateOrder(t *testing.T) {
|
|||||||
NotifyUrl: "https://callback-jxgy.jxc4.com/kuaishou/kuaiShouCallback",
|
NotifyUrl: "https://callback-jxgy.jxc4.com/kuaishou/kuaiShouCallback",
|
||||||
GoodsId: "1122",
|
GoodsId: "1122",
|
||||||
GoodsDetailUrl: "/page/index/anima",
|
GoodsDetailUrl: "/page/index/anima",
|
||||||
//MultiCopiesGoodsInfo: `[{"copies":2}]`,
|
MultiCopiesGoodsInfo: `[{"copies":2}]`,
|
||||||
CancelOrder: 1,
|
CancelOrder: 1,
|
||||||
}
|
}
|
||||||
data, err := api.PreCreateOrder(param)
|
data, err := api.PreCreateOrder(param)
|
||||||
|
|||||||
Reference in New Issue
Block a user