Files
jx-callback/business/q_bida/express_test.go
2022-09-11 16:31:11 +08:00

28 lines
677 B
Go

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)
}