修改京东自配送门店,调用达达转自送错误信息
This commit is contained in:
@@ -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") // 小程序
|
||||
|
||||
}
|
||||
|
||||
@@ -99,6 +99,10 @@ const (
|
||||
ComplaintReason214 = 214 //达达无标准保温箱;
|
||||
)
|
||||
|
||||
const (
|
||||
ModifySellerDeliveryNo = "359459" // 京东自配送账号,不需要达达转字配送
|
||||
)
|
||||
|
||||
type AfsSkuDiscount struct {
|
||||
DetailDiscountType int `json:"detailDiscountType"`
|
||||
DiscountType int `json:"discountType"`
|
||||
|
||||
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user