收藏
回答

【物流助手】调用即时配送接口提示api is unauthorized to component?


我们小程序已经开通权限了,但是调接口还是提示api is unauthorized to component,这个是不是我们的第三方平台也需要申请开通权限啊?我们的三方平台的appid是wxd4f6279cca1a0495和wx57832ac61e7bf45f,麻烦帮忙看一下,谢谢

最后一次编辑于  11-12
回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员-灵芝
    社区技术运营专员-灵芝
    11-12

    麻烦贴一下第三方APPID、小程序APPID、具体请求、具体返回信息、具体操作时间

    11-12
    赞同
    回复 2
    • 右岸晴天
      右岸晴天
      11-13
      第三方APPID:wxd4f6279cca1a0495
      小程序APPID:wxe6cffd44ab1197a6
      请求时间:2019-11-11 16:35
      预下单:
      {
        "cargo": {
          "cargo_first_class": "甜品饮料",
          "cargo_second_class": "甜品",
          "goods_detail": {
            "goods": [
              {
                "good_count": 1,
                "good_name": "冰淇淋"
              }
            ]
          },
          "goods_value": 50,
          "goods_weight": 0.1
        },
        "delivery_id": "TEST",
        "delivery_sign": "2f23b5b10be7b7bc9c59a4d31fe0bad1e7acc091",
        "openid": "oTly-4vEaeKa3fjo2BzY_Ud_4E-U",
        "order_info": {
          "delivery_service_code": "TEST",
          "expected_delivery_time": 0,
          "expected_finish_time": 0,
          "expected_pick_time": 0,
          "is_insured": 0,
          "order_time": 0,
          "order_type": 0
        },
        "receiver": {
          "address": "天府软件园G区",
          "address_detail": "天府软件园G区",
          "city": "成都市",
          "coordinate_type": 0,
          "lat": 30.53867,
          "lng": 104.05534,
          "name": "李先生",
          "phone": "18349255428"
        },
        "sender": {
          "coordinate_type": 0,
          "lat": 30.571002,
          "lng": 104.068024,
          "name": "重客隆测试门店"
        },
        "shop": {
          "goods_count": 1,
          "goods_name": "冰淇淋",
          "img_url": "http://oss-test.ystpay.cn/ystsr/2019/11/0d95d0f9-0370-4c33-8f6a-5afbc108e0ff.jpg",
          "wxa_path": "http://192.168.0.17:8083/dj-mini/orders/1271"
        },
        "shop_no": "8156",
        "shop_order_id": "19110810542245000864",
        "shopid": "test_shop_id"
      }
      返回:
      {"errcode":61007,"errmsg":"api is unauthorized to component hint: [0115z124!]"}
      11-13
      回复
    • 社区技术运营专员-灵芝
      社区技术运营专员-灵芝
      11-18回复右岸晴天
      请问问题是否已解决?若还有问题,麻烦重新提供最新的上述信息
      11-18
      回复
问题标签