define({ "name": "大健康接口文档", "version": "0.0.1", "description": "", "title": "Custom apiDoc browser title", "url": "http://localhost:8080/globle", "sampleUrl": "http://localhost:8080/globle", "header": { "title": "start", "content": "

接口返回格式

\n

单条数据:

\n
\n

异常:

\n
\n
{ \n "status":1000,\n "data":{},\n "msg":"错误消息"\n}\n
\n
\n

正常:

\n
\n
{\n "status":0,\n "data":{"id":"1","name":"wb"},\n "msg":""\n}\n
\n

多条数据:

\n
\n

异常:

\n
\n
{\n "status":1000,\n "data":{},\n "msg":"错误消息"\n}\n
\n
\n

正常:

\n
\n
{\n "status":0,\n "data":{\n   "list":[\n     {"id":267,"city":"Wuhan"},\n     {"id":266,"city":"Nanjin"}\n   ],\n   "page":{\n     "totalNum":4,\n     "totalPage":2,\n     "currentPage":1\n   }\n }  \n}\n
\n

错误码

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
解释错误码
参数不正确1001
服务器异常1002
url不存在1003
手机号已被注册2001
验证码错误2002
用户名密码错误2003
用户不存在2004
\n" }, "template": { "forceLanguage": "zh", "withCompare": true, "withGenerator": true }, "apidoc": "0.2.0", "generator": { "name": "apidoc", "time": "2016-02-19T03:41:49.314Z", "url": "http://apidocjs.com", "version": "0.15.1" } });