Changes between Version 54 and Version 55 of baby2.2_developers/interface
- Timestamp:
- 03/27/2015 03:00:29 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
baby2.2_developers/interface
v54 v55 24 24 25 25 8.涉及接口都增加请求参数:v = 220 //版本号(数字) 26 27 9.发帖,回帖中status字段值的含义如下: 28 29 STATUS_ERROR = -1; //错误 30 STATUS_SUCCESS = 0; //成功 31 STATUS_NO_RIGHT = 1; //没有权限 32 STATUS_PARAM_WRONG = 2; //参数错误 33 STATUS_CONTENT_OVERFLOW = 3; //内容超出长度 34 STATUS_EXISTS = 4; //数据已经存在 35 STATUS_NOT_FOUND = 5; //数据查找不到 36 STATUS_NO_LOGIN = 6; //没有登录 37 STATUS_USER_LOCK = 7; //用户被锁 38 39 当status不等于0时,具体原因参照message字段的说明。 26 40 }}} 27 41 … … 560 574 发帖成功,返回HTTP响应头为201,即内容创建成功 561 575 { 562 "Location": "http://bbs.pcbaby.com.cn/post-2156187_39095567.html" 576 "Location": "http://bbs.pcbaby.com.cn/post-2156187_39095567.html", 577 "status":0 563 578 } 564 579 565 580 私密圈返回参数(新增) 566 581 { 582 "status":-1, 567 583 "message": "此贴太火爆,快去其他帖子参与互动吧" //提示信息 568 584 } … … 595 611 "goldCount": 1, //发帖获得金币数量 596 612 "hasGold": true //发帖是否获得金币 613 "status":0 597 614 } 598 615 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)