diff --git a/platformapi/enterprise_wechat/enterprise_test.go b/platformapi/enterprise_wechat/enterprise_test.go index 1bbc61e1..fc1410a5 100644 --- a/platformapi/enterprise_wechat/enterprise_test.go +++ b/platformapi/enterprise_wechat/enterprise_test.go @@ -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") // 小程序 } diff --git a/platformapi/jdapi/order.go b/platformapi/jdapi/order.go index 74092961..a1b55a82 100644 --- a/platformapi/jdapi/order.go +++ b/platformapi/jdapi/order.go @@ -99,6 +99,10 @@ const ( ComplaintReason214 = 214 //达达无标准保温箱; ) +const ( + ModifySellerDeliveryNo = "359459" // 京东自配送账号,不需要达达转字配送 +) + type AfsSkuDiscount struct { DetailDiscountType int `json:"detailDiscountType"` DiscountType int `json:"discountType"` diff --git a/platformapi/jdapi/order_test.go b/platformapi/jdapi/order_test.go index 2e9dc403..07b26943 100644 --- a/platformapi/jdapi/order_test.go +++ b/platformapi/jdapi/order_test.go @@ -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()) }