收藏
回答

即时配送接口报args error 但是不知道具体是什么参数错误?

请求参数:{"access_token":"53__vvRiNJAKzikhb1RID5dfokh8FfNBu2ICQ2rq179qKQnqQC_8rA-9XClS-Brzf37Z3MuDaMboQwI6HXCRMDRYkBqwegSZOKcLAPY1wHd4Z6XTKKfaV_QYfdTrYcfrx4KkoiMIsftXmJCTZ2QGBCaAFAPKL","shop":{"wxa_path":"pages/index/index","img_url":"https://jdkj-1306681707.cos.ap-nanjing.myqcloud.com/S0000111/image/proImg_202201121130235350.jpg","goods_name":"白灼秋葵","goods_count":1},"receiver":{"name":"陈伟彬","city":"厦门市","address":"福建省厦门市湖里区悦华路151号","address_detail":"豪利思城","phone":"13459679830","lng":"118.11378","lat":"24.516153"},"sender":{"name":"捡单总部","city":"厦门市","address":"湖里街 道悦华路151号豪利思城","address_detail":"湖里街道悦华路151号豪利思城","phone":null,"lng":"118.113346","lat":"24.515309"},"openid":"oOjVR5NBM-WNh8cxPjAhqqEyyJp4","delivery_id":"SFTC","shopid":"1609170816","delivery_sign":"b7c6845e9bebcea13385731e263111e37b55f653","shop_order_id":null,"cargo":{"goods_value":26.0,"goods_weight":1,"cargo_first_class":"其他","cargo_second_class":"其他"},"shop_no":"3243279847393","order_info":{"order_type":0,"expected_delivery_time":null,"expected_finish_time":null,"expected_pick_time":null,"note":null,"order_time":null,"is_insured":0,"declared_value":null}}

请求的API:https://api.weixin.qq.com/cgi-bin/express/local/business/order/add


返回结果:{"errcode":930561,"errmsg":"args error rid: 620a131d-30f91bcc-28b02cb3"}

回答关注问题邀请回答
收藏

1 个回答

  • Cjiang
    Cjiang
    2022-02-14

    https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-business/immediateDelivery.addOrder.html

    缺少shop_order_id这个参数

    2022-02-14
    有用 1
    回复 6
    • C
      C
      2022-02-15
      {"shopid":"1609170816","shop_order_id":"202202141508_000034116","shop_no":"3243279847393","delivery_sign":"2b9a3a798ff713b8cbbd4337903bcd9c2ec2f004","delivery_id":"SFTC","openid":"oOjVR5NBM-WNh8cxPjAhqqEyyJp4","sender":{"name":"捡单总部","city":"厦门市","address":"湖里街道悦华路151号豪利思城","address_detail":"湖里街道悦华路151号豪利思城","phone":null,"lng":"118.113346","lat":"24.515309"},"receiver":{"name":"陈伟彬","city":"厦门市","address":"福建省厦门市湖里区悦华路151号","address_detail":"豪利思城","phone":"13459679830","lng":"118.11378","lat":"24.516153"},"cargo":{"goods_value":26.00,"goods_weight":1,"cargo_first_class":"其他","cargo_second_class":"其他"},"order_info":{"order_type":0,"expected_delivery_time":null,"expected_finish_time":null,"expected_pick_time":null,"note":null,"order_time":1644822548380,"is_insured":0,"declared_value":null},"shop":{"wxa_path":"pages/index/index","img_url":"https://jdkj-1306681707.cos.ap-nanjing.myqcloud.com/S0000111/image/proImg_202201121130235350.jpg","goods_name":"白灼秋葵","goods_count":1}}
      2022-02-15
      回复
    • C
      C
      2022-02-15
      为啥这段会报{"resultcode":1202,"resultmsg":"收件人及发件人需要归属同一个城市","fee":0,"deliverfee":0,"couponfee":0,"tips":0,"distance":0,"waybill_id":"","order_status":0,"finish_code":0,"pickup_code":0,"dispatch_duration":0,"sender_lng":0,"sender_lat":0}
      2022-02-15
      回复
    • C
      C
      2022-02-15
      地址不都是厦门市吗
      2022-02-15
      回复
    • Cjiang
      Cjiang
      2022-02-15回复C
      也是请求这个接口出现的问题吧?
      2022-02-15
      回复
    • C
      C
      2022-02-15回复Cjiang
      对的
      2022-02-15
      回复
    查看更多(1)
登录 后发表内容