1
This commit is contained in:
27
business/q_bida/express_test.go
Normal file
27
business/q_bida/express_test.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package q_bida
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
bida "git.rosy.net.cn/baseapi/platformapi/q_bida"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestQueryExpressPrice(t *testing.T) {
|
||||
param := &bida.GetExpressPriceReq{
|
||||
Type: 0,
|
||||
PromiseTimeType: 0,
|
||||
DeliveryType: 0,
|
||||
GoodsValue: 1,
|
||||
ReceiveAddress: "四川省攀枝花市米易县攀莲镇米易县米易县政府",
|
||||
SendAddress: "四川省成都市锦江区牛市口街道大融厨(九眼桥店)七鑫大酒店",
|
||||
Weight: 2,
|
||||
Length: 0,
|
||||
Height: 0,
|
||||
Width: 0,
|
||||
SendPhone: "18981810340",
|
||||
ChannelType: 2,
|
||||
}
|
||||
data,err := QueryExpressPrice(param)
|
||||
fmt.Println(err)
|
||||
fmt.Println(data)
|
||||
}
|
||||
Reference in New Issue
Block a user