多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ###个人 ####我的邻里圈帖子 +++ get:{url}index.php/Home/Post/mine *int:page#页码 <<< success +++ ####修改个人资料 +++ get:{url}index.php/Home/User/updateProfile nickname#昵称 int:sex#性别 int:age#年龄 signature#个性签名 portrait#头像 <<< success { "code": "200", "msg": "success", "data": [] } +++ ###积分 +++ get:{url}index.php/Home/User/integral *int:state#0 获取,1 消费 <<< success { "code": "200", "msg": "success", "data": [ { "id": "20", "value": "5", "integral_rule": "评论", "create_time": "1473145974" }, { "id": "19", "value": "5", "integral_rule": "签到", "create_time": "1473145974" } ] } +++ ###系统消息 +++ get:{url}index.php/Home/System/messages *int:page#页码 <<< success { "code": "200", "msg": "success", "data": [ { "id": "2", "title": "王石前往慰问", "content": "由于台风导致多片区停水停电停气,交通阻断,加之悦程地处偏远、人手不足,项目灾后恢复重建工作困难重重,但物业全体员工咬牙坚持,在地产的大力支持下,夜以继日抢修恢复设备设施、清扫路面、清理折断树枝,饿了喝瓶八宝粥、困了囫囵打个盹,用“悦程速度”重建幸福家园。", "images": [ "http://localhost/work/sjkj/public/upload/repair/{76AD59F5-8422-472F-AA8A-DDC61E33ED42}.gif", "http://localhost/work/sjkj/public/upload/repair/{E2586FF6-E179-4918-8736-D624131F7F60}.jpg" ] } ] } +++ ###建议反馈 +++ post:{url}index.php/Home/System/feedback *content#内容 <<< success { "code": "200", "msg": "success", "data": [] } +++ ###我的邻里 ####我的发布 +++ get:{url}index.php/Home/User/myPost?p_category_id=32 *int:p_category_id#分类Id <<< success { "code": "200", "msg": "success", "data": [ { "id": "43", "portrait": "http://sjkj.app.com/public/upload/post/47BD86EF-776E-C0D3-BA34-1A25A1453EE2.jpg", "nickname": "loveling", "address": "番禺大石", "village_id": null, "title": "上班拼车", "comment_num": "3", "images": [ "http://sjkj.app.com/public/upload/post/DA217213-A83E-A4F1-B377-F54B07BD527D.jpg" ], "content": "具体情况可以私聊我", "like_num": "0", "is_address": "0", "is_anonymous": "0", "car_travel_time": "周一,周二,周三,周四,周五", "travel_time": "8:00", "num": "4", "price": "15-20", "destination": null, "location": null, "activity_project": null, "start_travel_route": "曾边村村口", "end_travel_route": "花城创意产业园", "create_time": "1473668074" } ] } +++ ####我的评论 +++ get:{url}index.php/Home/User/myComment *int:page#页码 <<< success { "code": "200", "msg": "success", "data": [ { "id": "11", "comment_is_anonymous": "0", //回复是否匿名 "user_id": "13", "nickname": "loveling", "portrait": "http://sjkj.app.com/public/upload/post/47BD86EF-776E-C0D3-BA34-1A25A1453EE2.jpg", "category_id": "40", "post_id": "43", //帖子id "post_is_anonymous": "0", //帖子是否匿名 "post_user": "loveling", //发贴人 "post_title": "上班拼车", //帖子标题 "content": "阔以,兄弟,大石地铁站等......", //回复 "create_time": "1475898657", "type_name": "拼生活", //帖子类型 "reply": [ { "id": "10", "from_is_anonymous": "0", "from_user_id": "18", "from_user": "loveli", "to_is_anonymous": null, "to_user_id": null, "to_user": null, "content": "兄弟,算我一个" }, { "id": "12", "from_is_anonymous": "0", "from_user_id": "18", "from_user": "loveli", "to_is_anonymous": "0", "to_user_id": "13", "to_user": "loveling", "content": "谢了,兄弟." } ] } ] } +++ ###我的收藏 ####收藏列表 +++ get:{url}index.php/Home/Collection *content#内容 <<< success <<< error +++ ####删除收藏 +++ post:{url}index.php/Home/Collection/destroy *array:ids# 要删除的id int:type# 删除的种类,0 店铺,1 帖子。默认为 0 <<< success { "code": "200", "msg": "success", "data": [] } <<< error { "code": "500", "msg": "ids error", "data": [] } +++ ###我的小区 ####报修记录 +++ post:{url}index.php/Home/Collection *content#内容 <<< success { "code": "200", "msg": "success", "data": [ { "id": "11", "property": "1", "status": "0", "location": "家", "content": "换锁", "images": [ "http://localhost/work/sjkj/public/upload/repair/{76AD59F5-8422-472F-AA8A-DDC61E33ED42}.gif", "http://localhost/work/sjkj/public/upload/repair/{E2586FF6-E179-4918-8736-D624131F7F60}.jpg" ], "order_time": "1471403509", "create_time": "1475046857" }, { "id": "1", "property": "1", "status": "0", "location": null, "content": "阳台", "images": "", "order_time": "1471403509", "create_time": "1471414355" } ] } +++ ####我的帖子 +++ get:{url}index.php/Home/Appraise/mine *int:page#页码 <<< success { "code": "200", "msg": "success", "data": [ { "id": "1", "user_id": "1", "nickname": "轮子哥", "portrait": "http://localhost/work/sjkj/public/upload/a", "title": "赞弹1", "content": "竟然不给我打招呼1", "is_like": "1", "is_anonymous": "0", "like_num": "0", "oppose_num": "1", "comment_num": "3", "read_num": "0", "create_time": "1474621158", "images": [ "http://localhost/work/sjkj/public/upload/appraise/{C0B80A0B-1ED2-4EF5-9DBE-761BBA934612}.jpg", "http://localhost/work/sjkj/public/upload/appraise/{FAC52779-2C30-4A9A-83D4-4DEFFD61A410}.gif" ] } ] } +++ ####与我相关 +++ get:{url}index.php/Home/Appraise/mention *int:page#页码 <<< success { "code": "200", "msg": "success", "data": [ { //对评论的回复 "id": "7", "comment_is_anonymous": "1", //回复是否匿名 "user_id": "", "nickname": "匿名", "portrait": "", "appriase_id": "2", //帖子id "appraise_is_anonymous": "0", "appraise_user": "雷猴", //发贴人 "appraise": "物业不给力1", //帖子标题 "is_like": "1", //0 赞,1 弹 "content": "2对1对2评论回复", "create_time": "1474881408", "reply": [ { "id": "6", "from_is_anonymous": "1", "from_user_id": "", "from_user": "匿名", "to_is_anonymous": null, "to_user_id": null, "to_user": null, "content": "1对2评论" } ] }, { //对回复的回复 "id": "3", "comment_is_anonymous": "1", "user_id": "", "nickname": "匿名", "portrait": "", "appriase_id": "1", "appraise_is_anonymous": "0", "appraise_user": "轮子哥", "appraise": "赞弹1", "is_like": "1", "content": "回复回复评论打招呼", "create_time": "1474862345", "reply": [ { "id": "1", "from_is_anonymous": "0", "from_user_id": "18", "from_user": "雷猴", "to_is_anonymous": null, "to_user_id": null, "to_user": null, "content": "评论打招呼" }, { "id": "2", "from_is_anonymous": "0", "from_user_id": "1", "from_user": "轮子哥", "to_is_anonymous": "0", "to_user_id": "18", "to_user": "雷猴", "content": "回复评论打招呼" } ] }, { //帖子的评论 "id": "1", "comment_is_anonymous": "0", "user_id": "18", "nickname": "雷猴", "portrait": null, "appriase_id": "1", "appraise_is_anonymous": "0", "appraise_user": "轮子哥", "appraise": "赞弹1", "is_like": "1", "content": "评论打招呼", "create_time": "1474862240" } ] } +++ ####删除帖子 +++ get:{url}index.php/Home/Appraise/destroy *int:p_id#友赞友弹id <<< success { "code": "200", "msg": "success", "data": [] } <<< error { "code": "500", "msg": "错误信息", "data": [] } +++