OpenAPI接口调用说明
接口请求host:
测试服:https://app-test.fagougou.com
正式服:https://app.fagougou.com
2、接口签名处理
3、HTTP API 调用状态码
HTTP API 调用失败时返回
error_response
{
"code":number,
"msg":string
}
success_response
{
"code":number,
"data":object or dictionary
}
成功返回或者错误返回,以上字段全为必须返回字段,code值不可以为空,其他字段值可以为空
接口状态对应的code代码
类型 | code | msg |
---|---|---|
基础 | 0 | success |
用户 | 2002 | 用户不存在 |
2003 | 用户已存在 | |
鉴权 | 6032 | 无效的appid |
6033 | 无效的签名 | |
6034 | 无效的nonce | |
6035 | 签名已过期 | |
6036 | 验签失败 |
最后修改时间: 4 个月前