获取用户信息
测试环境
https://gldopenapi.keruyun.com
测试环境
https://gldopenapi.keruyun.com
GET
/oauth2/getUserInfo
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://gldopenapi.keruyun.com/oauth2/getUserInfo?access_token=89a4c9d3-b146-3b1a-8a3f-b3c67f1200db' \
--header 'Content-Type: application/json' \
--data-raw '{
"coupons":["123456789012345601"],
"shopId":810094162,
"tradeNo":1234567890
}'
响应示例响应示例
{
"result": {
"id": "88889017211",
"account": "luom",
"name": "骆密",
"shopId": 247900002,
"password": null,
"passwordNum": null,
"salt": null,
"enabled": 1,
"gender": -1,
"qq": null,
"birthday": null,
"address": null,
"source": "1",
"icon": "",
"brandId": 2479,
"loginBrand": false,
"assignedGroup": 2,
"shopList": [
{
"id": 247900002,
"brandIdentity": 2479,
"latlong": "104.074956,30.546321",
"assignedGroup": null,
"name": "南粉北面-敢动剁手-2479gx",
"brandName": "南粉北面",
"type": 0,
"address": "四川省成都市青羊区金沙",
"version": 5,
"lng": null,
"lat": null,
"roles": null,
"childrens": null
}
]
},
"code": 0,
"message": "成功[OK]",
"messageUuid": "f98112a2-1668-450f-b6df-25c00a057cd0"
}
请求参数
Query 参数
access_token
接口调用凭证
示例值:
89a4c9d3-b146-3b1a-8a3f-b3c67f1200db
Body 参数application/json