修改京东自配送门店,调用达达转自送错误信息

This commit is contained in:
邹宗楠
2022-06-20 16:55:05 +08:00
parent 41ec5d894b
commit b8d3580cd1
3 changed files with 7 additions and 2 deletions

View File

@@ -104,6 +104,7 @@ func TestCreateSession(t *testing.T) {
fmt.Println("err======", err)
}
func Test1111(t *testing.T) {
func TestGetSuiteTicket(t *testing.T) {
api = New("ww9a156bfa070e1857", "JQsEmSTltHhNgdPIT320YJFphiYmRs-YZa-rCBwplss") // 小程序
}

View File

@@ -99,6 +99,10 @@ const (
ComplaintReason214 = 214 //达达无标准保温箱;
)
const (
ModifySellerDeliveryNo = "359459" // 京东自配送账号,不需要达达转字配送
)
type AfsSkuDiscount struct {
DetailDiscountType int `json:"detailDiscountType"`
DiscountType int `json:"discountType"`

View File

@@ -71,7 +71,7 @@ func TestModifySellerDelivery(t *testing.T) {
}
func TestOrderSerllerDelivery(t *testing.T) {
result, err := api.OrderSerllerDelivery("2214638129000073", "自配送")
result, err := api.OrderSerllerDelivery("2214740704000086", "自配送")
if err != nil {
t.Fatal(err.Error())
}