根据手机号获取绑定该手机号的企业员工的授权码(员工需事前添加到关爱通平台)
https://openapi.guanaitong.tech/sso/employee/getAuthCodeByMobile
POST
(1)公共参数
发送请求是必须传入公共参数,详见公共参数
(2)私有参数
| 参数名称 | 是否必须 | 参数类型 | 长度限制 | 描述 |
| mobile_area | 否 | int | [1,10] | 手机区号 |
| mobile | 是 | string | [6,20] | 员工手机号 |
| enterprise_code | 否 | string | [1,20] | 企业编号(集团和运营商同步,企业不填) |
POST /sso/employee/getAuthCodeByMobile HTTP/1.1 Host: openapi.guanaitong.tech Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache access_token=efab39effde9a19f08ba9717cd22a6f9&mobile_area=86&mobile=13911122211& timestamp=1499932763&sign=5306a8d71d13c126f1ad08e480df63d5e3f7e54d
| 参数名称 | 描述 |
| code | 返回码。详见错误代码。 |
| msg | 如果错误,返回错误信息。 |
| data | 如果没有错误,返回业务数据 |
{
"code" : 0,
"msg" : "OK",
"data" : "26308B644B9743C62F473176A17D26A5A1BDF07A"
}
{
"code": 1000210004,
"msg": "tokeninfo check failed!",
"data": null
}