收藏
回答

【物流助手】沙盒环境测试api unauthorized rid?

请求的参数:

{

    "add_source": "0",

    "wx_appid": "wxe938c4db70987d79",

    "order_id": "202111305155951",

    "openid": "oI5Om1LH24K04iII8sF8DfPYr_LA",

    "delivery_id": "TEST",

    "biz_id": "test_biz_id",

    "custom_remark": "测试新增订单快递接口",

    "sender": {

        "area": "顺德区",

        "address": "勒流",

        "post_code": "123654",

        "company": "batf",

        "tel": "0753-8888888",

        "name": "张三",

        "province": "广东省",

        "city": "佛山市",

        "country": "中国",

        "mobile": "13688888888"

    },

    "receiver": {

        "area": "天河区",

        "address": "天河客运站",

        "post_code": "123654",

        "company": "batf",

        "tel": "0753-6666666",

        "name": "李四",

        "province": "广东省",

        "city": "广州市",

        "country": "中国",

        "mobile": "13666666666"

    },

    "cargo": {

        "detail_list": [

            {

                "count": 1,

                "name": "AAAAAA"

            }

        ],

        "weight": 10,

        "count": 1,

        "space_y": 20,

        "space_z": 20,

        "space_x": 30.5

    },

    "shop": {

        "img_url": "",

        "wxa_path": "",

        "goods_name": "AAAA998",

        "goods_count": 1

    },

    "insured": {

        "insuredValue": 10000,

        "useInsured": 1

    },

    "service": {

        "service_type": 0,

        "service_name": "标准快递"

    }

}

调用返回:

{"code":"1","data":{"errmsg":"api unauthorized rid: 617fa50a-26a5f28a-281defaa","errcode":48001},"msg":"","err":""}

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

1 个回答

  • Cjiang
    Cjiang
    2021-11-01

    你好,rid: 617fa50a-26a5f28a-281defaa,使用了账号:wx64e****20eb5 不是小程序账号,使用小程序账号调用

    2021-11-01
    有用
    回复 2
    • 呵呵哒
      呵呵哒
      发表于移动端
      2021-11-01
      你好,是指登录小程序网页管理后台的账号?还是?怎么填参?
      2021-11-01
      回复
    • Cjiang
      Cjiang
      2021-11-02回复呵呵哒
      调用的账号是公众号账号
      2021-11-02
      回复
登录 后发表内容