调用签到记录提示401错误
金蝶云社区-戴安东
戴安东
0人赞赏了该文章 1,029次浏览 未经作者许可,禁止转载编辑于2018年05月25日 15:02:25

获取token成功了Url为:https://www.yunzhijia.com/gateway/oauth2/token/getAccessToken
参数为:{"timestamp":1527231516230,"scope":"resGroupSecret","secret":"Yvhwjhy87**********","eid":"20*****"}字符集为utf-8

可是调用按日期获取考勤记录是提示401错误
URL为:https://www.yunzhijia.com/gateway/attendance-data/v1/clockIn/day/list?accessToken=ReXuFIqJYrHqzznpO*********
参数为:{"limit":200,"start":1,"day":"2018-05-25","eid":"*****"}
Content-Type:application/x-www-form-urlencoded
返回结果为:{"errorCode":401,"data":"","success":false,"errorMsg":"没有权限"}
请问是什么问题造成的?

您的鼓励与嘉奖将成为创作者们前进的动力,如果觉得本文还不错,可以给予作者创作打赏哦!

请选择打赏金币数 *

10金币20金币30金币40金币50金币60金币
可用金币: 0