微信小商店的参数token到底是什么?
发布于 6 年前 作者 guiyingwu 3343 次浏览 来自 官方Issues
http请求方式:POST
https://api.weixin.qq.com/product/order/get_list?access_token=xxxxxxxxx

我现在请求的是
1.写一个方法接收验证票据component_verify_ticket
2.用component_verify_ticket获取令牌
POST https://api.weixin.qq.com/cgi-bin/component/api_component_token

返回结果集{
  "component_access_token": "***********",
  "expires_in": 7200
}

component_access_token是不是就是我请求小商店的access_token
用这个请求小商店订单一直返回  {
    "errcode": 48001,
    "errmsg": "api unauthorized rid: 607901a8-7d3c2474-2626a0da"
}

我的需求就是获取小商店订单存本地进行后续服务
调一个接口太难了,谁知道access_token到底是不是我调用  获取令牌  返回的component_access_token




回到顶部