1.接口鉴权
应用smartassistant接口,需将用户凭证smart-assistant-token,放在http申请的header中。格局如下:
"smart-assistant-token":"xxx"
2.返回规范数据结构
smartassistant接口均返回JSON格局数据,格局如下:
{ "status":0, // 状态码 "reason":"", // 状态码形容 "data":{} // 所有业务数据返回都蕴含在data对象中}
3.错误码列表
附录:错误码列表