最后修改者: admin  2018-05-12 14:03:53 

获取拉黑用户列表(039)

编号  :  039

POST - ?r=api&m=blackUser&ac=getBlackUserList&v=1.0.0
加密
请求参数
参数名 参数类型 必传 缺省值 描述
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户识别码
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户token
page int N 下一页
maxscore int N 偏移量
limit int N 每页显示数据长度
uid int N 查看他人关注列表的时候需要传
返回值
{
    "status":1,
    "msg":"获取关注列表成功",
    "data":{
        "next_page":0,
        "maxscore":42991110.385,
        "total":1,
        "list":[
            {
                "head_pic":"http://test.pic.1yuan2ci.com/s1/head/20180503/c1e57e604c29f2790ac7b5ed1bbd018f.jpg~200_200",
                "nickname":"11k",
                "uid":3,
                "sort_value":42991110.385
            }
        ]
    }
}
备注
{"status":1,"msg":"u83b7u53d6u9ed1u540du5355u5217u8868u6210u529f","data":{"list":[],"total":0,"next_page":0}}
最后修改者: admin  2018-05-12 13:52:53 

移除拉黑用户(038)

编号  :  37

POST - ?r=api&m=blackUser&ac=doRemoveBlack&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
black_uid int Y rU8hQ12zV1cnWyiqPcDNNQ== 拉黑用户uid
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户登入校验
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户数据校验
返回值
{
    "status":1,
    "msg":"您以成功移除拉黑该用户",
    "data":null
}
备注
{"status":1,"msg":"u79fbu9664u62c9u9ed1u7528u6237u6210u529f","data":null}
最后修改者: admin  2018-05-12 13:51:56 

拉黑用户(037)

编号  :  037

POST - ?r=api&m=blackUser&ac=doBlack&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
black_uid int Y rU8hQ12zV1cnWyiqPcDNNQ== 拉黑用户uid
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户登入校验
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户数据校验
返回值
{
    "status":1,
    "msg":"您以成功拉黑该用户",
    "data":null
}
备注
{"status":1,"msg":"u60a8u4ee5u6210u529fu62c9u9ed1u8be5u7528u6237","data":null}
最后修改者: admin  2018-04-09 12:43:15 

设置menu列表(036)

编号  :  36

POST - ?r=api&v=2.0.0&m=menu&ac=setMenuList
请求参数
参数名 参数类型 必传 缺省值 描述
u string Y
token string Y
tag_id string Y json串【1,2,3】
返回值
{
  "status":1,
  "msg":"获取menu成功",
  "data":{
    "list":[
      {
        "id":0,
        "title":"推荐"
      },
      {
        "id":"9",
        "title":"测2",
        "logo":"http://test.pic.1yuan2ci.com/s1/other/20180404/c43c8bf2ed0a565ab718d766d8b30a06.png"
                            "is_user_set	":1//是否用户设置的menu,修改
      }
    ],
    "has_set_menu":1//是否设置menu
  }
}
备注
{"status":1,"msg":"u83b7u53d6menuu6210u529f","data":{"list":[{"id":0,"title":"u63a8u8350"},{"id":"9","title":"u6d4b2","logo":"http://test.pic.1yuan2ci.com/s1/other/20180404/c43c8bf2ed0a565ab718d766d8b30a06.png","is_user_set":0}],"has_set_menu":1}}
最后修改者: admin  2018-05-10 10:42:46 

获取menu列表(035)

编号  :  35

POST - ?r=api&v=2.0.0&m=menu&ac=menuList
请求参数
参数名 参数类型 必传 缺省值 描述
u string Y
token string Y
返回值
{
  "status":1,
  "msg":"获取menu成功",
  "data":{
    "list":[
      {
        "id":0,
        "title":"推荐"
      },
      {
        "id":"9",
        "title":"测2",
        "logo":"http://test.pic.1yuan2ci.com/s1/other/20180404/c43c8bf2ed0a565ab718d766d8b30a06.png"
                            "is_user_set	":1//是否用户设置的menu,修改
      }
    ],
    "has_set_menu":1//是否设置menu
  }
}
备注
{"status":1,"msg":"u83b7u53d6menuu6210u529f","data":{"list":[{"id":0,"title":"u63a8u8350"},{"id":"9","title":"u6d4b2","logo":"http://test.pic.1yuan2ci.com/s1/other/20180404/c43c8bf2ed0a565ab718d766d8b30a06.png","is_user_set":0}],"has_set_menu":1}}
最后修改者: admin  2018-04-28 01:27:48 

获取非关注推荐用户动态列表(034)

编号  :  034

POST - ?r=api&v=2.0.0&m=topic&ac=getOtherTopicList
请求参数
参数名 参数类型 必传 缺省值 描述
page int N 1
perpage int N 20
u string Y
token string Y
maxscore int Y 0 排序值
返回值
参考个人动态列表
{
    "status":1,
    "msg":"成功",
    "data":{
        "list":[
            {
                "is_concern":0,
                "uid":"353",
                "nickname":"永远",
                "head_path":"http://test.pic.1yuan2ci.com/s1/head/20180127/e7e0ad49a2f7e08f12bb61486fa734c6.jpg~200_200",
                "province":"",
                "city":"",
                "sex":"-1",
                "follow_count":0,
                "fans_count":6,
                "topic_list":[
                    {
                        "id":"23950",
                        "uid":"353",
                        "title":"",
                        "anime":"",
                        "content":"某某",
                        "time":"01-27 10:41",
                        "goods_pic":[
                            {
                                "img_path":"http://test.pic.1yuan2ci.com/s1/user/20180127/64d458cdb4f4c806502fd3619cda4535.jpg~compress",
                                "name":"1517020890882.jpg",
                                "width":1080,
                                "height":1920,
                                "tags":[

                                ]
                            }
                        ],
                        "interest_labels":"",
                        "interest_id":"",
                        "nickname":"永远",
                        "head_pic":"http://test.pic.1yuan2ci.com/s1/head/20180127/e7e0ad49a2f7e08f12bb61486fa734c6.jpg~200_200",
                        "goods_count":0,
                        "vote_up_count":0,
                        "is_vote_up":0,
                        "views":"12",
                        "topic_labels":[

                        ]
                    }
                ],
                "maxscore":23950,
                "next_page":0
            }
        ],
        "total":25,
        "next_page":0,
        "maxscore":25
    }
}
备注
{"status":1,"msg":"u6210u529f","data":{"list":[{"is_concern":0,"uid":"353","nickname":"u6c38u8fdc","head_path":"http://test.pic.1yuan2ci.com/s1/head/20180127/e7e0ad49a2f7e08f12bb61486fa734c6.jpg~200_200","province":"","city":"","sex":"-1","follow_count":0,"fans_count":6,"topic_list":[{"id":"23950","uid":"353","title":"","anime":"","content":"u67d0u67d0","time":"01-27 10:41","goods_pic":[{"img_path":"http://test.pic.1yuan2ci.com/s1/user/20180127/64d458cdb4f4c806502fd3619cda4535.jpg~compress","name":"1517020890882.jpg","width":1080,"height":1920,"tags":[]}],"interest_labels":"","interest_id":"","nickname":"u6c38u8fdc","head_pic":"http://test.pic.1yuan2ci.com/s1/head/20180127/e7e0ad49a2f7e08f12bb61486fa734c6.jpg~200_200","goods_count":0,"vote_up_count":0,"is_vote_up":0,"views":"12","topic_labels":[]}],"maxscore":23950,"next_page":0}],"total":25,"next_page":0,"maxscore":25}}
最后修改者: admin  2018-02-28 11:07:22 

不再关注此用户(033)

编号  :  033

POST - ?r=api&v=2.0.0&m=topic&ac=removeConcern
请求参数
参数名 参数类型 必传 缺省值 描述
remove_uid int Y sGvlElvE1jtZ/WJFAbUS2A== 移除用户uid
返回值
success:true为成功,false为失败
status: 100, -100
msg:返回消息
json示例:
{"success":true,"status":100,"msg":"成功","data":null}
最后修改者: admin  2018-04-11 15:56:13 

动态兴趣标签列表(032)

编号  :  032

POST - ?r=api&v=2.0.0&m=topicTag&ac=getTagList
动态兴趣标签列表
请求参数
参数名 参数类型 必传 缺省值 描述
token string Y
p string Y
返回值
{
  "status":1,
  "msg":"获取列表成功",
  "data":{
    "list":[
      {
        "title":"火影忍者",
        "id":1
      }
    ]
  }
}
备注
{"status":1,"msg":"u83b7u53d6u5217u8868u6210u529f","data":{"list":[{"title":"u706bu5f71u5fcdu8005","id":1}]}}
最后修改者: admin  2018-02-05 10:47:13 

关注列表(031)

编号  :  30

POST - ?r=api&v=2.0.0&m=topic&ac=cTopicList
新增参数 1:只看包含商品动态 0:默认
请求参数
参数名 参数类型 必传 缺省值 描述
maxscore int N
perpage int Y
page int Y
has_goods int Y 1:只看包含商品动态 0:默认
返回值
{
    "status": 1,
    "msg": "成功",
    "data": {
        "concern": [
            {
                "head_pic": "http://test.app.1yuan2ci.com/static/app/image/default.png~200_200",
                "nickname": "蒽草草",
                "authenticate": null,
                "uid": "310",
                "is_concern": 0,
                "topic_list": []
            },
            {
                "head_pic": "http://test.pic.1yuan2ci.com/s1/head/20180112/1f340983c71949e4de6bc5310452b7f7.jpg~200_200",
                "nickname": "小短裙",
                "authenticate": null,
                "uid": "281",
                "is_concern": 2,
                "topic_list": {
                    "list": [
                        {
                            "id": "23550",
                            "uid": "281",
                            "title": "",
                            "anime": "",
                            "content": "挂电话打电话对吧",
                            "time": "01-12  16:23",
                            "sort": "0",
                            "status": "-1",
                            "del_status": "0",
                            "goods_pic": [
                                {
                                    "img_path": "http://test.pic.1yuan2ci.com/s1/user/20180112/b31abcbfd3a45df4ee24cfb782287507.png~compress",
                                    "name": "e61182ab65d2541bac6cd6db1b467e49.png",
                                    "width": 144,
                                    "height": 144,
                                    "tags": []
                                }
                            ],
                            "vote_up": "0",
                            "comment_count": 0,
                            "note": "",
                            "pass_time": null,
                            "at": "",
                            "type": "1",
                            "video_id": "0",
                            "views": "39",
                            "interest_labels": "",
                            "is_recommend": "-1",
                            "lit_num": "0",
                            "collect_num": "0",
                            "nickname": "小短裙",
                            "head_pic": "http://test.pic.1yuan2ci.com/s1/head/20180112/1f340983c71949e4de6bc5310452b7f7.jpg~200_200",
                            "goods_count": 0,
                            "vote_up_count": 3,
                            "is_vote_up": 1,
                            "vote_up_head": [
                                {
                                    "head_pic": "http://test.pic.1yuan2ci.com/s1/head/20180105/178eadf5e54bc67049ec0596358a95fa.jpg~100_100",
                                    "nickname": "仰黄河鬼棺嘎",
                                    "uid": "3"
                                },
                                {
                                    "head_pic": "http://test.pic.1yuan2ci.com/s1/head/20171205/a34856bbd613f8e0abb924b043f65a67.jpg~100_100",
                                    "nickname": "木木啦啦队",
                                    "uid": "17"
                                },
                                {
                                    "head_pic": "http://test.pic.1yuan2ci.com/s1/head/20180112/5b11911b64cd6ccb79167e43c5632984.jpg~100_100",
                                    "nickname": "磁爆步兵",
                                    "uid": "284"
                                }
                            ]
                        }
                    ],
                    "maxscore": 23550,
                    "next_page": 0
                }
            }
        ],
        "is_concern_user": 1,
        "maxscore": 24211,
        "next_page": 1,
        "list": [
            {
                "id": 24211,
                "uid": "265",
                "title": "",
                "content": "",
                "anime": "",
                "interest_labels": null,
                "time": "42分钟前",
                "goods_pic": [
                    {
                        "img_path": "http://test.pic.1yuan2ci.com/s1/user/20180205/f676dfce4127995ecaf42b52d09ba00d.jpg~compress",
                        "name": "img0.jpg",
                        "width": 750,
                        "height": 1415,
                        "tags": []
                    }
                ],
                "nickname": "那年",
                "head_pic": "http://test.pic.1yuan2ci.com/s1/head/20180129/12d21e28bab554f9c1b3ef24363e8c54.jpg~200_200",
                "goods_count": 0,
                "vote_up_count": 0,
                "is_vote_up": 0,
                "views": "2",
                "vote_up_head": [],
                "comment_count": 0
            }
        ]
    }
}
最后修改者: admin  2018-04-08 14:15:14 

首页动态列表(030)

编号  :  030

POST - ?r=api&v=2.0.0&m=topic&ac=topicList
请求参数
参数名 参数类型 必传 缺省值 描述
maxscore int N
perpage int Y
page int Y
tag_id int N 0 menu id
返回值
Array
(
      [status] => 1
      [msg] => 成功
      [data] => Array
      (
            [maxscore] => 292565225182
            [next_page] => 1
            [list] => Array
            (
                  [0] => Array
                  (
                        [id] => 23711
                        [uid] => 45
                        [title] => 
                        [anime] => 
                        [content] => 
                        [time] => 01-18  14:06
                        [goods_pic] => Array
                        (
                              [0] => Array
                              (
                                    [img_path] => http://test.pic.1yuan2ci.com/s1/user/20180118/6b6f07fa29ba47ecc6fba71f4c685350.jpeg~compress
                                    [name] => 225-2.jpeg
                                    [width] => 349
                                    [height] => 225
                                    [tags] => 
                              )
                        )
                        [interest_labels] => 
                        [nickname] => 柯小小
                        [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20180110/fc79b4b0025d76dfb65489bcd5517ed8.jpg~200_200
                        [goods_count] => 0
                        [vote_up_count] => 9
                        [is_vote_up] => 0
                        [views] => 238
                        [is_concern] => 0
                        [vote_up_head] => Array
                        (
                              [0] => Array
                              (
                                    [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20180129/5ecdea4f7db7f467cc8ecb2b80ad2870.jpg~100_100
                                    [nickname] => 我们
                                    [uid] => 81
                              )
                              [1] => Array
                              (
                                    [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20180129/12d21e28bab554f9c1b3ef24363e8c54.jpg~100_100
                                    [nickname] => 那年
                                    [uid] => 265
                              )
                              [2] => Array
                              (
                                    [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20180103/68a435de90a887290b141926c7137ba3.jpg~100_100
                                    [nickname] => 慧慧关机开机后两
                                    [uid] => 141
                              )
                              [3] => Array
                              (
                                    [head_pic] => http://test.app.1yuan2ci.com/static/app/image/default.png~100_100
                                    [nickname] => 蛋蛋蛋
                                    [uid] => 212
                              )
                              [4] => Array
                              (
                                    [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20171205/a34856bbd613f8e0abb924b043f65a67.jpg~100_100
                                    [nickname] => 木木啦啦队
                                    [uid] => 17
                              )
                              [5] => Array
                              (
                                    [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20180105/178eadf5e54bc67049ec0596358a95fa.jpg~100_100
                                    [nickname] => 仰黄河鬼棺嘎
                                    [uid] => 3
                              )
                              [6] => Array
                              (
                                    [head_pic] => http://test.app.1yuan2ci.com/static/app/image/default.png~100_100
                                    [nickname] => gxychc
                                    [uid] => 301
                              )
                        )
                        [comment_list] => Array
                        (
                              [0] => Array
                              (
                                    [id] => 2456
                                    [uid] => 367
                                    [tid] => 23711
                                    [sort] => 0
                                    [content] => 囖猫
                                    [time] => 刚刚
                                    [status] => 1
                                    [del_status] => 0
                                    [self] => -1
                                    [note] => 
                                    [pass_time] => 2018-02-02 18:14:48
                                    [lit_num] => 0
                                    [is_top] => 1
                                    [lit_sort_num] => 2
                                    [sort_key] => 65042035348
                                    [lie_num] => 2
                                    [is_lie] => 0
                                    [nickname] => 2202全家福
                                    [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20180201/12bbc8e70556af53a13b3912eb7702a1.jpg~200_200
                                    [sort_value] => 79828790054548
                                    [comment_count] => 0
                                    [next_page] => 0
                                    [comment_list] => 
                              )
                        )
                        [comment_count] => 35
                  )
            )
      )
)
json示例:
{"status":1,"msg":"u6210u529f","data":{"maxscore":292565225182,"next_page":1,"list":[{"id":"23711","uid":"45","title":"","anime":"","content":"","time":"01-18  14:06","goods_pic":[{"img_path":"http://test.pic.1yuan2ci.com/s1/user/20180118/6b6f07fa29ba47ecc6fba71f4c685350.jpeg~compress","name":"225-2.jpeg","width":349,"height":225,"tags":[]}],"interest_labels":"","nickname":"u67efu5c0fu5c0f","head_pic":"http://test.pic.1yuan2ci.com/s1/head/20180110/fc79b4b0025d76dfb65489bcd5517ed8.jpg~200_200","goods_count":0,"vote_up_count":9,"is_vote_up":0,"views":"238","is_concern":0,"vote_up_head":[{"head_pic":"http://test.pic.1yuan2ci.com/s1/head/20180129/5ecdea4f7db7f467cc8ecb2b80ad2870.jpg~100_100","nickname":"u6211u4eec","uid":"81"},{"head_pic":"http://test.pic.1yuan2ci.com/s1/head/20180129/12d21e28bab554f9c1b3ef24363e8c54.jpg~100_100","nickname":"u90a3u5e74","uid":"265"},{"head_pic":"http://test.pic.1yuan2ci.com/s1/head/20180103/68a435de90a887290b141926c7137ba3.jpg~100_100","nickname":"u6167u6167u5173u673au5f00u673au540eu4e24","uid":"141"},{"head_pic":"http://test.app.1yuan2ci.com/static/app/image/default.png~100_100","nickname":"u86cbu86cbu86cb","uid":"212"},{"head_pic":"http://test.pic.1yuan2ci.com/s1/head/20171205/a34856bbd613f8e0abb924b043f65a67.jpg~100_100","nickname":"u6728u6728u5566u5566u961f","uid":"17"},{"head_pic":"http://test.pic.1yuan2ci.com/s1/head/20180105/178eadf5e54bc67049ec0596358a95fa.jpg~100_100","nickname":"u4ef0u9ec4u6cb3u9b3cu68fau560e","uid":"3"},{"head_pic":"http://test.app.1yuan2ci.com/static/app/image/default.png~100_100","nickname":"gxychc","uid":"301"}],"comment_list":[{"id":"2456","uid":"367","tid":"23711","sort":"0","content":"u56d6u732b","time":"2018-02-08 00:02:28","status":"1","del_status":"0","self":"-1","note":"","pass_time":"2018-02-02 18:14:48","lit_num":"0","is_top":1,"lit_sort_num":2,"sort_key":65042035348}],"comment_count":"35"}]}}
最后修改者: admin  2017-12-29 14:07:48 

获取更多回复(029)

编号  :  29

POST - ?r=api&m=comment&ac=getMoreCommentList&v=1.0.0
获取回复请添加评论id reply_id
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== uid
offset int Y vwq4OocSTtav3DzzTyOMkg== 留言排序值sort_value
limit int Y qrvUyu/gGQtXrM+RP3HKjw== 每页显示数量
token string Y H8NxdyZXBh9PmhTXE6+EnL8wq87xi8t9ofc1pj/LDhE=
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4
reply_id int N sGvlElvE1jtZ/WJFAbUS2A== 评论id
返回值
评论返回实例
Array
(
      [status] => 1
      [msg] => 获取留言成功
      [data] => Array
      (
            [total] => 7
            [has_more] => 1
            [list] => Array
            (
                  [0] => Array
                  (
                        [id] => 7
                        [uid] => 1
                        [tid] => 64
                        [sort] => 0
                        [content] => 测试评论1
                        [time] => 2017-12-08 18:07:37
                        [status] => -1
                        [del_status] => 0
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [sort_value] => 29614057
                        [is_top] => 0
                        [time_name] => 21小时前
                        [lie_num] => 0
                        [user_name] => 口技
                        [heart_path] => http://test.app.1yuan2ci.com/static/app/image/default.jpg
                        [comment_list] => Array
                        (
                              [total] => 1
                              [has_more] => 0
                              [list] => Array
                              (
                                    [0] => Array
                                    (
                                          [id] => 12
                                          [uid] => 1
                                          [reply_id] => 7
                                          [to_uid] => 0
                                          [sort] => 0
                                          [content] => 测试回复1
                                          [time] => 2017-12-08 18:08:23
                                          [status] => -1
                                          [del_status] => 0
                                          [tid] => 64
                                          [self] => -1
                                          [note] => 
                                          [pass_time] => null
                                          [time_name] => 21小时前
                                          [user_name] => 口技
                                          [heart_path] => http://test.app.1yuan2ci.com/static/app/image/default.jpg
                                          [to_user_name] => null
                                          [to_head_path] => null
                                          [sort_value] => 29614103
                                    )
                              )
                        )
                  )
            )
      )
)
评论返回json实例
{"status":1,"msg":"u83b7u53d6u7559u8a00u6210u529f","data":{"total":7,"has_more":1,"list":[{"id":"7","uid":"1","tid":"64","sort":"0","content":"u6d4bu8bd5u8bc4u8bba1","time":"2017-12-08 18:07:37","status":"-1","del_status":"0","self":"-1","note":"","pass_time":null,"sort_value":29614057,"is_top":0,"time_name":"21u5c0fu65f6u524d","lie_num":0,"user_name":"u53e3u6280","heart_path":"http://test.app.1yuan2ci.com/static/app/image/default.jpg","comment_list":{"total":1,"has_more":0,"list":[{"id":"12","uid":"1","reply_id":"7","to_uid":"0","sort":"0","content":"u6d4bu8bd5u56deu590d1","time":"2017-12-08 18:08:23","status":"-1","del_status":"0","tid":"64","self":"-1","note":"","pass_time":null,"time_name":"21u5c0fu65f6u524d","user_name":"u53e3u6280","heart_path":"http://test.app.1yuan2ci.com/static/app/image/default.jpg","to_user_name":null,"to_head_path":null,"sort_value":29614103}]}}]}}

回复返回实例
Array
(
      [status] => 1
      [msg] => 获取数据成功
      [data] => Array
      (
            [total] => 3
            [has_more] => 1
            [list] => Array
            (
                  [0] => Array
                  (
                        [id] => 5
                        [uid] => 3
                        [reply_id] => 1
                        [to_uid] => 2
                        [sort] => 0
                        [content] => asdadf
                        [time] => 2017-12-05 19:25:53
                        [status] => -1
                        [del_status] => 0
                        [tid] => 64
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [sort_value] => 29359553
                        [time_name] => 12-05  19:25
                        [user_name] => null
                        [to_user_name] => null
                        [heart_path] => null
                        [to_head_path] => null
                  )
            )
      )
)
回复返回json实例

{"status":1,"msg":"u83b7u53d6u6570u636eu6210u529f","data":{"total":3,"has_more":1,"list":[{"id":"5","uid":"3","reply_id":"1","to_uid":"2","sort":"0","content":"asdadf","time":"2017-12-05 19:25:53","status":"-1","del_status":"0","tid":"64","self":"-1","note":"","pass_time":null,"sort_value":29359553,"time_name":"12-05  19:25","user_name":null,"to_user_name":null,"heart_path":null,"to_head_path":null}]}}
备注
@property (nonatomic, assign) BOOL success;

@property (nonatomic, assign) NSInteger status;

@property (nonatomic, strong) Data *data;

@property (nonatomic, copy) NSString *msg;
@class Data,Post,List,Comment_List,List;
@interface Data : NSObject

@property (nonatomic, assign) NSInteger has_more;//是否有更多(1有更多 0没有更多)

@property (nonatomic, strong) NSArray<List *> *list;//留言列表集合

@property (nonatomic, assign) NSInteger total;//留言数

@end

@interface List : NSObject

@property (nonatomic, copy) NSString *tid;//留言id

@property (nonatomic, copy) NSString *to_head_path;

@property (nonatomic, assign) NSInteger sort_value;//留言排序值

@property (nonatomic, assign) NSInteger is_top;//是否置顶(1置顶 0 不置顶)

@property (nonatomic, copy) NSString *id;//留言id

@property (nonatomic, copy) NSString *uid;//留言用户uid

@property (nonatomic, copy) NSString *time_name;//留言时间

@property (nonatomic, copy) NSString *heart_path;//留言用户头像

@property (nonatomic, assign) NSInteger lie_num;//点亮数

@property (nonatomic, strong) Comment_List *comment_list;//回复列表

@property (nonatomic, copy) NSString *content;//留言详情

@property (nonatomic, copy) NSString *user_name;//留言用户名

@end

@interface Comment_List : NSObject//回复有序集合

@property (nonatomic, assign) NSInteger total;//回复数

@property (nonatomic, assign) NSInteger has_more;//是否有更多回复

@property (nonatomic, strong) NSArray<List *> *list;回复列表

@end

@interface List : NSObject

@property (nonatomic, copy) NSString *tid;//动态id

@property (nonatomic, copy) NSString *to_head_path;//回复用户头像

@property (nonatomic, assign) NSInteger sort_value;//回复排序值

@property (nonatomic, copy) NSString *id;//回复id

@property (nonatomic, copy) NSString *uid;//回复用户uid

@property (nonatomic, copy) NSString *reply_id;//回复留言id

@property (nonatomic, copy) NSString *to_uid;//回复上级用户uid

@property (nonatomic, copy) NSString *time_name;//回复时间

@property (nonatomic, copy) NSString *to_user_name;//回复上级用户用户名

@property (nonatomic, copy) NSString *heart_path;//回复用户头像地址

@property (nonatomic, copy) NSString *to_heart_path;//回复上级用户头像地址

@property (nonatomic, copy) NSString *content;//回复内容

@property (nonatomic, copy) NSString *user_name;//回复用户用户名

@end
最后修改者: admin  2017-12-29 14:07:57 

动态删除(028)

编号  :  28

POST - ?r=api&m=topicDetails&ac=doDelTopic&v=1.0.0
加密
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y 冬天id
u string Y 用户信息校验位
token string Y 用户登入校验
返回值
success:true为成功,false为失败
status: 100, -100
msg:返回消息
json示例:
{"success":true,"status":100,"msg":"动态删除成功","data":null}
最后修改者: admin  2017-12-29 14:08:05 

获取粉丝列表(027)

编号  :  27

POST - ?r=api&m=follow&ac=getFansUserList&v=1.0.0
加密
请求参数
参数名 参数类型 必传 缺省值 描述
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户识别码
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户token
page int N 下一页
offset int N 偏移量
limit int N 每页显示数据长度
uid int N 查看他人粉丝列表的时候需要传
返回值
Array
(
      [status] => 1
      [msg] => 获取信息成功
      [data] => Array
      (
            [next_page] => 0
            [total] => 7
            [list] => Array
            (
                  [0] => Array
                  (
                        [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20171130/e421b0667cbaf05be1c54ef75463c3a2.jpg
                        [nickname] => 蛋蛋
                        [uid] => 6
                        [sort_value] => 1512461718
                        [is_follow] => 1
                  )
            )
            [login_uid] => null
      )
)


json示例:
{"status":1,"msg":"u83b7u53d6u4fe1u606fu6210u529f","data":{"next_page":0,"total":7,"list":[{"head_pic":"http://test.pic.1yuan2ci.com/s1/head/20171130/e421b0667cbaf05be1c54ef75463c3a2.jpg","nickname":"u86cbu86cb","uid":6,"is_follow":1,"sort_value":1512461718}],"login_uid":null}}
备注
@property (nonatomic, assign) NSInteger status;//返回状态

@property (nonatomic, copy) NSString *msg;//返回提示信息

@property (nonatomic, strong) Data *data;//返回数据集合
@class Data,List;
@interface Data : NSObject

@property (nonatomic, strong) NSArray<Vote_Up_Head *> *list;//点赞用户数据集合

@property (nonatomic, copy) NSString *login_uid;//不用,用于测试用户是否登入

@property (nonatomic, assign) NSInteger total;//点赞用户数量

@property (nonatomic, assign) NSInteger next_page;//是否有更多

@end

@interface List : NSObject

@property (nonatomic, assign) NSInteger uid;//用户uid

@property (nonatomic, copy) NSString *nickname;//用户名

@property (nonatomic, copy) NSString *head_pic;//用户头像地址

@property (nonatomic, assign) NSInteger sort_value;//偏移量

@property (nonatomic, assign) NSInteger is_follow;//关注状态0:未关注 1:已关注 2:互粉


@end
最后修改者: admin  2017-12-29 14:08:12 

获取关注列表(026)

编号  :  26

POST - ?r=api&m=follow&ac=getFollowUserList&v=1.0.0
加密
请求参数
参数名 参数类型 必传 缺省值 描述
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户识别码
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户token
page int N 下一页
offset int N 偏移量
limit int N 每页显示数据长度
uid int N 查看他人关注列表的时候需要传
返回值
Array
(
      [status] => 1
      [msg] => 获取信息成功
      [data] => Array
      (
            [next_page] => 0
            [total] => 7
            [list] => Array
            (
                  [0] => Array
                  (
                        [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20171130/e421b0667cbaf05be1c54ef75463c3a2.jpg
                        [nickname] => 蛋蛋
                        [uid] => 6
                        [sort_value] => 1512461718
                        [is_follow] => 1
                  )
            )
            [login_uid] => null
      )
)


json示例:
{"status":1,"msg":"u83b7u53d6u4fe1u606fu6210u529f","data":{"next_page":0,"total":7,"list":[{"head_pic":"http://test.pic.1yuan2ci.com/s1/head/20171130/e421b0667cbaf05be1c54ef75463c3a2.jpg","nickname":"u86cbu86cb","uid":6,"is_follow":1,"sort_value":1512461718}],"login_uid":null}}
备注
@property (nonatomic, assign) NSInteger status;//返回状态

@property (nonatomic, copy) NSString *msg;//返回提示信息

@property (nonatomic, strong) Data *data;//返回数据集合
@class Data,List;
@interface Data : NSObject

@property (nonatomic, strong) NSArray<Vote_Up_Head *> *list;//点赞用户数据集合

@property (nonatomic, copy) NSString *login_uid;//不用,用于测试用户是否登入

@property (nonatomic, assign) NSInteger total;//点赞用户数量

@property (nonatomic, assign) NSInteger next_page;//是否有更多

@end

@interface List : NSObject

@property (nonatomic, assign) NSInteger uid;//用户uid

@property (nonatomic, copy) NSString *nickname;//用户名

@property (nonatomic, copy) NSString *head_pic;//用户头像地址

@property (nonatomic, assign) NSInteger sort_value;//偏移量

@property (nonatomic, assign) NSInteger is_follow;//关注状态0:未关注 1:已关注 2:互粉


@end
最后修改者: admin  2017-12-29 14:08:19 

获取点赞列表(025)

编号  :  25

POST - ?r=api&m=topicDetails&ac=getVoteUpList&v=1.0.0
加密
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== 动态点赞列表
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户识别码
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户token
page int N 下一页
offset int N 偏移量
limit int N 每页显示数据长度
返回值
Array
(
      [status] => 1
      [msg] => 获取信息成功
      [data] => Array
      (
            [next_page] => 0
            [total] => 7
            [is_vote_up] => 0
            [list] => Array
            (
                  [0] => Array
                  (
                        [head_pic] => http://test.pic.1yuan2ci.com/s1/head/20171130/e421b0667cbaf05be1c54ef75463c3a2.jpg
                        [nickname] => 蛋蛋
                        [uid] => 6
                        [sort_value] => 1512461718
                  )
            )
            [login_uid] => null
      )
)
json示例:
{"status":1,"msg":"u83b7u53d6u4fe1u606fu6210u529f","data":{"next_page":0,"total":7,"is_vote_up":0,"list":[{"head_pic":"http://test.pic.1yuan2ci.com/s1/head/20171130/e421b0667cbaf05be1c54ef75463c3a2.jpg","nickname":"u86cbu86cb","uid":6,"sort_value":1512461718}],"login_uid":null}}
备注
@property (nonatomic, assign) NSInteger status;//返回状态

@property (nonatomic, copy) NSString *msg;//返回提示信息

@property (nonatomic, strong) Data *data;//返回数据集合
@class Data,List;
@interface Data : NSObject

@property (nonatomic, assign) BOOL is_vote_up;//判断是否点赞

@property (nonatomic, strong) NSArray<Vote_Up_Head *> *list;//点赞用户数据集合

@property (nonatomic, copy) NSString *login_uid;//不用,用于测试用户是否登入

@property (nonatomic, assign) NSInteger total;//点赞用户数量

@property (nonatomic, assign) NSInteger next_page;//是否有更多

@end

@interface List : NSObject

@property (nonatomic, assign) NSInteger uid;//用户uid

@property (nonatomic, copy) NSString *nickname;//用户名

@property (nonatomic, copy) NSString *head_pic;//用户头像地址

@property (nonatomic, assign) NSInteger sort_value;//偏移量

@end
最后修改者: admin  2017-12-29 14:08:31 

删除评论(024)

编号  :  24

POST - ?r=api&m=comment&ac=doDelReply&v=1.0.0
url【POST】 http://test/?r=api&m=comment&ac=doCancelLitghtReply&v=1.0.0 uid【用户uid】 1 commid【评论/回复id】 1
请求参数
参数名 参数类型 必传 缺省值 描述
reply_id int Y 评论id
u string Y 用户信息校验位
token string Y 用户登入校验
tid int Y 动态id
返回值
success:true为成功,false为失败
status: 100, -100
msg:返回消息
json示例:
{"success":true,"status":100,"msg":"动态删除成功","data":null}
最后修改者: admin  2017-12-29 14:08:39 

回复删除(023)

编号  :  23

POST - ?r=api&m=comment&ac=doDelComment&v=1.0.0
url【POST】 ?r=api&m=comment&ac=doDelComment&v=1.0 uid【用户uid】 1 commid【评论/回复id】 1
请求参数
参数名 参数类型 必传 缺省值 描述
comment_id int Y 评论id
u string Y 用户信息校验位
token string Y 用户登入校验
返回值
success:true为成功,false为失败
status: 100, -100
msg:返回消息
json示例:
{"success":true,"status":100,"msg":"动态删除成功","data":null}
最后修改者: admin  2017-12-29 14:08:52 

取消评论点亮(022)

编号  :  22

POST - ?r=api&m=comment&ac=doCancelLitghtReply&v=1.0.0
url【POST】 http://test/?r=api&m=comment&ac=doCancelLitghtReply&v=1.0.0 uid【用户uid】 1 commid【评论/回复id】 1
请求参数
参数名 参数类型 必传 缺省值 描述
reply_id int Y 评论id
u string Y 用户信息校验位
token string Y 用户登入校验
返回值
success:true为成功,false为失败
status: 100, -100
msg:返回消息
json示例:
{"success":true,"status":100,"msg":"取消点亮成功","data":null}
最后修改者: admin  2017-12-29 14:09:00 

获取动态收藏列表(021)

编号  :  021

POST - ?r=api&m=collect&ac=getCollectTopicList&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
offset int Y vwq4OocSTtav3DzzTyOMkg== 列表偏移量
limit int Y qrvUyu/gGQtXrM+RP3HKjw== 每页显示数据
token string Y p1DO1dRHmP5UgVVXyGLDTkA04kJXvcsZc8xuPu2Ildk=
u string Y VFC9T8FvkztCxaKJ609Zv0u6LyddQSUmai1uSJqo83qqc1AgGvFlQCp94AhQzsUh
page int Y 下一页
返回值
{
    "status": 1,
    "msg": "获取信息成功",
    "data": [
        {
            "id": "64",
            "uid": "8",
            "title": "测试后台发布",
            "anime": "作品1",
            "content": "后台发布测试",
            "time": "2017-12-01 11:24:08",
            "sort": "0",
            "status": "已审核",
            "del_status": "0",
            "goods_pic": [
                {
                    "img_path": "http://test.pic.1yuan2ci.com/s1/user/20171128/969bab6a1671ea57ace2b8d8a30b7875.png",
                    "name": "bg2.png",
                    "width": 601,
                    "height": 396,
                    "tags": [
                        {
                            "pic_url": "/s1/user/20171128/969bab6a1671ea57ace2b8d8a30b7875.png",
                            "x": 0.5074875207986689,
                            "y": 0.4292929292929293,
                            "text": "文字1",
                            "type": "1",
                            "index": 0
                        },
                        {
                            "pic_url": "/s1/user/20171128/969bab6a1671ea57ace2b8d8a30b7875.png",
                            "x": 0.36605657237936773,
                            "y": 0.6085858585858586,
                            "id": "1",
                            "text": "加厚垃圾袋家用5卷150只新料黑色厨房卫生间酒店塑料袋中大号包邮",
                            "type": "2",
                            "index": 0
                        }
                    ]
                },
                {
                    "img_path": "http://test.pic.1yuan2ci.com/s1/user/20171201/6693e930a26be0d440b2e1c130523fed.png",
                    "name": "bg5.png",
                    "width": 490,
                    "height": 256,
                    "tags": [
                        {
                            "pic_url": "/s1/user/20171201/6693e930a26be0d440b2e1c130523fed.png",
                            "x": 0.14489795918367346,
                            "y": 0.140625,
                            "text": "文字2",
                            "type": "1",
                            "index": 1
                        },
                        {
                            "pic_url": "/s1/user/20171201/6693e930a26be0d440b2e1c130523fed.png",
                            "x": 0.3142857142857143,
                            "y": 0.24609375,
                            "id": "2",
                            "text": "304不锈钢汤勺幼儿园宝宝喂饭勺子婴儿童辅食勺调羹中小学生饭勺",
                            "type": "2",
                            "index": 1
                        }
                    ]
                }
            ],
            "vote_up": 6,
            "comment_count": "0",
            "self": "-1",
            "note": "",
            "pass_time": "2017-12-01 11:24:22",
            "at": "",
            "type": "1",
            "video_id": "0",
            "tag_info": [
                {
                    "pic_url": "/s1/user/20171128/969bab6a1671ea57ace2b8d8a30b7875.png",
                    "x": 0.5074875207986689,
                    "y": 0.4292929292929293,
                    "text": "文字1",
                    "type": "1",
                    "index": 0
                },
                {
                    "pic_url": "/s1/user/20171128/969bab6a1671ea57ace2b8d8a30b7875.png",
                    "x": 0.36605657237936773,
                    "y": 0.6085858585858586,
                    "id": "1",
                    "text": "加厚垃圾袋家用5卷150只新料黑色厨房卫生间酒店塑料袋中大号包邮",
                    "type": "2",
                    "index": 0
                },
                {
                    "pic_url": "/s1/user/20171201/6693e930a26be0d440b2e1c130523fed.png",
                    "x": 0.14489795918367346,
                    "y": 0.140625,
                    "text": "文字2",
                    "type": "1",
                    "index": 1
                },
                {
                    "pic_url": "/s1/user/20171201/6693e930a26be0d440b2e1c130523fed.png",
                    "x": 0.3142857142857143,
                    "y": 0.24609375,
                    "id": "2",
                    "text": "304不锈钢汤勺幼儿园宝宝喂饭勺子婴儿童辅食勺调羹中小学生饭勺",
                    "type": "2",
                    "index": 1
                }
            ],
            "views": "0",
            "interest_labels": [
                "火影忍者"
            ],
            "is_recommend": 1,
            "nickname": "Theone1",
            "head_pic": "http://test.app.1yuan2ci.com/static/app/image/default.jpg",
            "status_num": 1,
            "vote_up_head": [
                {
                    "head_pic": "http://test.app.1yuan2ci.com/static/app/image/default.jpg",
                    "nickname": "厦门扛把子",
                    "uid": 11
                }
            ],
            "is_collect": 1,
            "time_name": "12-01  11:24",
            "browse_num": "64",
            "is_follow": 0,
            "is_concern": 0,
            "is_like": 1,
            "like_num": 6,
            "like_list": [
                {
                    "head_pic": "http://test.app.1yuan2ci.com/static/app/image/default.jpg",
                    "nickname": "口技",
                    "uid": 1
                }
            ],
            "collect_num": 4,
            "sort_value": 30117890
        }
    ]
}
最后修改者: admin  2017-12-29 14:09:10 

评论回复(020)

编号  :  020

POST - ?r=api&m=topicDetails&ac=doLeaveComment&v=1.0.0
回复一级评论 参数: tid = 64 reply_id = 1 回复二级级评论 参数: tid = 64 comment_id = 11
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y 动态id
reply_id int N 评论id
comment_id int N 回复id
content string Y 回复内容
返回值
Array
(
      [status] => 1
      [msg] => 添加回复成功
      [data] => null
)
json示例:
{"status":1,"msg":"u6dfbu52a0u56deu590du6210u529f","data":null}
最后修改者: admin  2017-12-29 14:09:20 

用户评论(019)

编号  :  019

POST - ?r=api&m=topicDetails&ac=doLeaveReply&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== 动态id
content string Y 8fn0v8KVcEcSmX8CEc7yxiKeU0VvnNiVXhvwu7knSpKvePNcAF9oBzUVGx5/2NwVJZqUflEWL5PZK7VOY6X1kA== 动态评论内容
u string Y
token string Y
返回值
Array
(
      [status] => 1
      [msg] => 添加评论成功
      [data] => null
)
json示例
{"success":true,"status":1,"msg":"添加评论成功","data":[]}
最后修改者: admin  2017-12-29 14:09:27 

获取更多评论/回复(018)

编号  :  018

POST - ?r=api&m=comment&ac=getMoreReplyList&v=1.0.0
获取回复请添加评论id reply_id
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== uid
offset int Y vwq4OocSTtav3DzzTyOMkg== 留言排序值sort_value
limit int Y qrvUyu/gGQtXrM+RP3HKjw== 每页显示数量
token string Y H8NxdyZXBh9PmhTXE6+EnL8wq87xi8t9ofc1pj/LDhE=
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4
reply_id int N sGvlElvE1jtZ/WJFAbUS2A== 评论id
返回值
评论返回实例
Array
(
      [status] => 1
      [msg] => 获取留言成功
      [data] => Array
      (
            [total] => 7
            [has_more] => 1
            [list] => Array
            (
                  [0] => Array
                  (
                        [id] => 7
                        [uid] => 1
                        [tid] => 64
                        [sort] => 0
                        [content] => 测试评论1
                        [time] => 2017-12-08 18:07:37
                        [status] => -1
                        [del_status] => 0
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [sort_value] => 29614057
                        [is_top] => 0
                        [time_name] => 21小时前
                        [lie_num] => 0
                        [user_name] => 口技
                        [heart_path] => http://test.app.1yuan2ci.com/static/app/image/default.jpg
                        [comment_list] => Array
                        (
                              [total] => 1
                              [has_more] => 0
                              [list] => Array
                              (
                                    [0] => Array
                                    (
                                          [id] => 12
                                          [uid] => 1
                                          [reply_id] => 7
                                          [to_uid] => 0
                                          [sort] => 0
                                          [content] => 测试回复1
                                          [time] => 2017-12-08 18:08:23
                                          [status] => -1
                                          [del_status] => 0
                                          [tid] => 64
                                          [self] => -1
                                          [note] => 
                                          [pass_time] => null
                                          [time_name] => 21小时前
                                          [user_name] => 口技
                                          [heart_path] => http://test.app.1yuan2ci.com/static/app/image/default.jpg
                                          [to_user_name] => null
                                          [to_head_path] => null
                                          [sort_value] => 29614103
                                    )
                              )
                        )
                  )
            )
      )
)
评论返回json实例
{"status":1,"msg":"u83b7u53d6u7559u8a00u6210u529f","data":{"total":7,"has_more":1,"list":[{"id":"7","uid":"1","tid":"64","sort":"0","content":"u6d4bu8bd5u8bc4u8bba1","time":"2017-12-08 18:07:37","status":"-1","del_status":"0","self":"-1","note":"","pass_time":null,"sort_value":29614057,"is_top":0,"time_name":"21u5c0fu65f6u524d","lie_num":0,"user_name":"u53e3u6280","heart_path":"http://test.app.1yuan2ci.com/static/app/image/default.jpg","comment_list":{"total":1,"has_more":0,"list":[{"id":"12","uid":"1","reply_id":"7","to_uid":"0","sort":"0","content":"u6d4bu8bd5u56deu590d1","time":"2017-12-08 18:08:23","status":"-1","del_status":"0","tid":"64","self":"-1","note":"","pass_time":null,"time_name":"21u5c0fu65f6u524d","user_name":"u53e3u6280","heart_path":"http://test.app.1yuan2ci.com/static/app/image/default.jpg","to_user_name":null,"to_head_path":null,"sort_value":29614103}]}}]}}

回复返回实例
Array
(
      [status] => 1
      [msg] => 获取数据成功
      [data] => Array
      (
            [total] => 3
            [has_more] => 1
            [list] => Array
            (
                  [0] => Array
                  (
                        [id] => 5
                        [uid] => 3
                        [reply_id] => 1
                        [to_uid] => 2
                        [sort] => 0
                        [content] => asdadf
                        [time] => 2017-12-05 19:25:53
                        [status] => -1
                        [del_status] => 0
                        [tid] => 64
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [sort_value] => 29359553
                        [time_name] => 12-05  19:25
                        [user_name] => null
                        [to_user_name] => null
                        [heart_path] => null
                        [to_head_path] => null
                  )
            )
      )
)
回复返回json实例

{"status":1,"msg":"u83b7u53d6u6570u636eu6210u529f","data":{"total":3,"has_more":1,"list":[{"id":"5","uid":"3","reply_id":"1","to_uid":"2","sort":"0","content":"asdadf","time":"2017-12-05 19:25:53","status":"-1","del_status":"0","tid":"64","self":"-1","note":"","pass_time":null,"sort_value":29359553,"time_name":"12-05  19:25","user_name":null,"to_user_name":null,"heart_path":null,"to_head_path":null}]}}
备注
@property (nonatomic, assign) BOOL success;

@property (nonatomic, assign) NSInteger status;

@property (nonatomic, strong) Data *data;

@property (nonatomic, copy) NSString *msg;
@class Data,Post,List,Comment_List,List;
@interface Data : NSObject

@property (nonatomic, assign) NSInteger has_more;//是否有更多(1有更多 0没有更多)

@property (nonatomic, strong) NSArray<List *> *list;//留言列表集合

@property (nonatomic, assign) NSInteger total;//留言数

@end

@interface List : NSObject

@property (nonatomic, copy) NSString *tid;//留言id

@property (nonatomic, copy) NSString *to_head_path;

@property (nonatomic, assign) NSInteger sort_value;//留言排序值

@property (nonatomic, assign) NSInteger is_top;//是否置顶(1置顶 0 不置顶)

@property (nonatomic, copy) NSString *id;//留言id

@property (nonatomic, copy) NSString *uid;//留言用户uid

@property (nonatomic, copy) NSString *time_name;//留言时间

@property (nonatomic, copy) NSString *heart_path;//留言用户头像

@property (nonatomic, assign) NSInteger lie_num;//点亮数

@property (nonatomic, strong) Comment_List *comment_list;//回复列表

@property (nonatomic, copy) NSString *content;//留言详情

@property (nonatomic, copy) NSString *user_name;//留言用户名

@end

@interface Comment_List : NSObject//回复有序集合

@property (nonatomic, assign) NSInteger total;//回复数

@property (nonatomic, assign) NSInteger has_more;//是否有更多回复

@property (nonatomic, strong) NSArray<List *> *list;回复列表

@end

@interface List : NSObject

@property (nonatomic, copy) NSString *tid;//动态id

@property (nonatomic, copy) NSString *to_head_path;//回复用户头像

@property (nonatomic, assign) NSInteger sort_value;//回复排序值

@property (nonatomic, copy) NSString *id;//回复id

@property (nonatomic, copy) NSString *uid;//回复用户uid

@property (nonatomic, copy) NSString *reply_id;//回复留言id

@property (nonatomic, copy) NSString *to_uid;//回复上级用户uid

@property (nonatomic, copy) NSString *time_name;//回复时间

@property (nonatomic, copy) NSString *to_user_name;//回复上级用户用户名

@property (nonatomic, copy) NSString *heart_path;//回复用户头像地址

@property (nonatomic, copy) NSString *to_heart_path;//回复上级用户头像地址

@property (nonatomic, copy) NSString *content;//回复内容

@property (nonatomic, copy) NSString *user_name;//回复用户用户名

@end
最后修改者: admin  2017-12-29 14:09:34 

动态收藏取消(017)

编号  :  017

POST - ?r=api&m=collect&ac=doCancelTopic&v=1.0.0
加密
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== 用户tid
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户教研位
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户登入位
返回值
Array
(
      [status] => -100
      [msg] => 动态信息未收藏
      [data] => 0
)
{"status":-100,"msg":"u52a8u6001u4fe1u606fu672au6536u85cf","data":0}
最后修改者: admin  2017-12-29 14:10:50 

动态取消点赞(014)

编号  :  014

POST - ?r=api&m=topicDetails&ac=doCancelLike&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== 动态id
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户校验位
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户登入校验位
返回值
Array
(
      [success] => false
      [status] => -100
      [msg] => 用户未点赞
)
json示例:
{"success":false,"status":-100,"msg":"用户已点赞"}
最后修改者: admin  2017-12-29 14:09:41 

动态点赞(013)

编号  :  013

POST - ?r=api&m=topicDetails&ac=doLikeTopic&v=1.0.0
加密
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== 动态id
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户教研位
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户登入校验位
返回值
Array
(
      [success] => false
      [status] => -100
      [msg] => 用户已点赞
)
json示例:
{"success":false,"status":-100,"msg":"用户已点赞"}
最后修改者: admin  2017-12-29 14:09:56 

获取动态详情中提到的商品列表(012)

编号  :  012

POST - ?r=api&m=topicDetails&ac=getTopicGoodsList&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y 动态id
返回值
Array
(
      [success] => true
      [status] => 100
      [msg] => 获取数据成功
      [data] => Array
      (
            [0] => Array
            (
                  [id] => 2
                  [title] => 304不锈钢汤勺幼儿园宝宝喂饭勺子婴儿童辅食勺调羹中小学生饭勺
                  [pic] => http://test.app.1zhe.com:8082/s1/goods/20171117/09ed490c8c94df4a6d003a2f286d5ad4.jpg~compress
                  [price] => 0.00
                  [view] => 1
                  [praise] => 0
                  [fav] => 0
                  [is_taobao] => 1
                  [num_iid] => 551476636019
                  [link] => https://item.taobao.com/item.htm?id=551476636019
                  [volume] => 5
            )
            [1] => Array
            (
                  [id] => 1
                  [title] => 加厚垃圾袋家用5卷150只新料黑色厨房卫生间酒店塑料袋中大号包邮
                  [pic] => http://test.app.1zhe.com:8082/s1/goods/20171129/9f93ba6f90d8cb5eaa6c24f03a52a154.jpg~compress
                  [price] => 9.40
                  [view] => 171
                  [praise] => 0
                  [fav] => 0
                  [is_taobao] => 1
                  [num_iid] => 43022193676
                  [link] => https://item.taobao.com/item.htm?id=43022193676
                  [volume] => 10
            )
      )
)
json示例:
{"success":true,"status":100,"msg":"获取数据成功","data":[{"id":"2","title":"304不锈钢汤勺幼儿园宝宝喂饭勺子婴儿童辅食勺调羹中小学生饭勺","pic":"http://test.app.1zhe.com:8082/s1/goods/20171117/09ed490c8c94df4a6d003a2f286d5ad4.jpg~compress","price":"0.00","view":"1","praise":"0","fav":"0","is_taobao":"1","num_iid":"551476636019","link":"https://item.taobao.com/item.htm?id=551476636019","volume":"5"},{"id":"1","title":"加厚垃圾袋家用5卷150只新料黑色厨房卫生间酒店塑料袋中大号包邮","pic":"http://test.app.1zhe.com:8082/s1/goods/20171129/9f93ba6f90d8cb5eaa6c24f03a52a154.jpg~compress","price":"9.40","view":"171","praise":"0","fav":"0","is_taobao":"1","num_iid":"43022193676","link":"https://item.taobao.com/item.htm?id=43022193676","volume":"10"}]}
备注
@property (nonatomic, assign) BOOL success; //返回查询状态

@property (nonatomic, assign) NSInteger status;//返回查询状态码

@property (nonatomic, strong) NSArray<Data *> *data;//返回数据集合

@property (nonatomic, copy) NSString *msg;//返回查询提示语
@class Data;
@interface Data : NSObject

@property (nonatomic, copy) NSString *praise;//点赞数

@property (nonatomic, copy) NSString *volume;//销量

@property (nonatomic, copy) NSString *id;//本地商品id

@property (nonatomic, copy) NSString *pic;//商品图片地址

@property (nonatomic, copy) NSString *title;//商品标题

@property (nonatomic, copy) NSString *price;//商品价格

@property (nonatomic, copy) NSString *view;//浏览量

@property (nonatomic, copy) NSString *num_iid;//淘宝拼接id

@property (nonatomic, copy) NSString *fav;//收藏量

@property (nonatomic, copy) NSString *link;//连接地址

@property (nonatomic, copy) NSString *is_taobao;//判断是否是淘宝天猫0否,1是

@end
最后修改者: admin  2017-12-29 14:09:50 

留言点亮/取消点赞(009)

编号  :  009

POST - ?r=api&m=comment&ac=doLitghtReply&v=1.0.0
url【POST】 http://test/?r=api&m=comment&ac=doLitghtReply&v=1.0.0 uid【用户uid】 1 commid【评论/回复id】 1
请求参数
参数名 参数类型 必传 缺省值 描述
reply_id int Y 评论id
u string Y 用户信息校验位
token string Y 用户登入校验
返回值
success:true为成功,false为失败
status: 100, -100
msg:返回消息
json示例:
{"success":true,"status":100,"msg":"取消点亮成功","data":null}
最后修改者: admin  2017-12-29 14:10:06 

动态浏览触发添加浏览数(005)

编号  :  005

POST - ?r=api&m=topicDetails&ac=doBrowseTopic&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y 用户动态id
token string N 用户登入校验
u string N 用户信息校验
返回值
Array
(
      [success] => true
      [status] => 100
      [msg] => 动态浏览成功
      [data] => 7
)
json示例:
{"success":true,"status":100,"msg":"动态浏览成功","data":"6"}
最后修改者: admin  2017-12-29 14:10:12 

动态收藏(004)

编号  :  004

POST - ?r=api&m=collect&ac=doCollectTopic&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== 动态id
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户教研位
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户登入校验
返回值
Array
(
      [success] => false
      [status] => -100
      [msg] => 动态信息已收藏
      [data] => 0
)
json示例:
{"success":false,"status":-100,"msg":"动态信息已收藏","data":0}
最后修改者: admin  2017-12-29 14:10:20 

动态详情(003)

编号  :  003

POST - ?r=api&m=topicDetails&ac=getTopicDetails&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y 动态id
u string Y 用户教研位
token string Y 登入校验位
offset int N 0 最后一个评论详情sort_value
limit int N 10
返回值
{
    "status": 1,
    "msg": "请求数据成功",
    "data": {
        "total": 46,
        "next_page": 1,
        "list": [
            {
                "id": "4",
                "uid": "1",
                "tid": "64",
                "sort": "12",
                "content": "这个是测试评论",
                "time": "12-08  17:05",
                "status": "1",
                "del_status": "0",
                "self": "-1",
                "note": "",
                "pass_time": "2017-12-12 13:52:32",
                "sort_value": 390072387958,
                "is_top": 0,
                "lie_num": 3,
                "is_lie": 0,
                "nickname": "口技",
                "head_pic": "http://test.app.1yuan2ci.com/static/app/image/default.jpg",
                "comment_count": 2,
                "next_page": 0,
                "comment_list": [
                    {
                        "id": "13",
                        "uid": "3",
                        "reply_id": "4",
                        "to_uid": "1",
                        "sort": "0",
                        "content": "测试评论回复",
                        "time": "12-12  19:51",
                        "status": "-1",
                        "del_status": "0",
                        "tid": "64",
                        "self": "-1",
                        "note": "",
                        "pass_time": null,
                        "user_name": null,
                        "head_pic": null,
                        "to_user_name": "口技",
                        "to_head_pic": "http://test.app.1yuan2ci.com/static/app/image/default.jpg",
                        "sort_value": 29965912
                    }
                ]
            }
        ],
        "topic_info": {
            "id": "64",
            "uid": "8",
            "title": "测试后台发布",
            "anime": "作品1",
            "content": "后台发布测试",
            "time": "2017-12-01 11:24:08",
            "sort": "0",
            "status": "已审核",
            "del_status": "0",
            "goods_pic": [
                {
                    "img_path": "http://test.pic.1yuan2ci.com/s1/user/20171128/969bab6a1671ea57ace2b8d8a30b7875.png",
                    "name": "bg2.png",
                    "width": 601,
                    "height": 396,
                    "tags": [
                        {
                            "pic_url": "/s1/user/20171128/969bab6a1671ea57ace2b8d8a30b7875.png",
                            "x": 0.5074875207986689,
                            "y": 0.4292929292929293,
                            "text": "文字1",
                            "type": "1",
                            "index": 0
                        },
                        {
                            "pic_url": "/s1/user/20171128/969bab6a1671ea57ace2b8d8a30b7875.png",
                            "x": 0.36605657237936773,
                            "y": 0.6085858585858586,
                            "id": "1",
                            "text": "加厚垃圾袋家用5卷150只新料黑色厨房卫生间酒店塑料袋中大号包邮",
                            "type": "2",
                            "index": 0
                        }
                    ]
                },
                {
                    "img_path": "http://test.pic.1yuan2ci.com/s1/user/20171201/6693e930a26be0d440b2e1c130523fed.png",
                    "name": "bg5.png",
                    "width": 490,
                    "height": 256,
                    "tags": [
                        {
                            "pic_url": "/s1/user/20171201/6693e930a26be0d440b2e1c130523fed.png",
                            "x": 0.14489795918367346,
                            "y": 0.140625,
                            "text": "文字2",
                            "type": "1",
                            "index": 1
                        },
                        {
                            "pic_url": "/s1/user/20171201/6693e930a26be0d440b2e1c130523fed.png",
                            "x": 0.3142857142857143,
                            "y": 0.24609375,
                            "id": "2",
                            "text": "304不锈钢汤勺幼儿园宝宝喂饭勺子婴儿童辅食勺调羹中小学生饭勺",
                            "type": "2",
                            "index": 1
                        }
                    ]
                }
            ],
            "vote_up": 6,
            "comment_count": "0",
            "self": "-1",
            "note": "",
            "pass_time": "2017-12-01 11:24:22",
            "at": "",
            "type": "1",
            "video_id": "0",
            "views": "0",
            "interest_labels": [
                "火影忍者"
            ],
            "is_recommend": 1,
            "nickname": "Theone1",
            "head_pic": "http://test.app.1yuan2ci.com/static/app/image/default.jpg",
            "status_num": 1,
            "vote_up_head": [
                {
                    "head_pic": "http://test.app.1yuan2ci.com/static/app/image/default.jpg",
                    "nickname": "口技",
                    "uid": 1
                }
            ],
            "is_collect": 0,
            "time_name": "12-01  11:24",
            "browse_num": "62",
            "is_follow": 0,
            "is_concern": 0,
            "is_vote_up": 0,
            "vote_up_count": 6,
            "fav": 4,
            "goods_list": [
                {
                    "id": "1",
                    "title": "加厚垃圾袋家用5卷150只新料黑色厨房卫生间酒店塑料袋中大号包邮",
                    "pic": "http://test.pic.1yuan2ci.com/s1/goods/20171116/38518787653c600da0d8f05425298120.png",
                    "price": "9.40",
                    "view": "374",
                    "praise": "5",
                    "fav": "8",
                    "is_taobao": "1",
                    "num_iid": "43022193676",
                    "link": "https://item.taobao.com/item.htm?id=43022193676",
                    "volume": "0"
                }
            ],
            "total": "5"
        }
    }
}
备注
@property (nonatomic, assign) NSInteger status;//返回查询状态1/-100

@property (nonatomic, copy) NSString *msg;//返回查询结果提示

@property (nonatomic, strong) Data *data;//返回数据集合
@class Data,Topic_Info,Vote_Up_Head,Goods_List,Goods_Pic,Tags,List,Comment_List;
@interface Data : NSObject

@property (nonatomic, strong) Topic_Info *topic_info;//动态详情集合

@property (nonatomic, strong) NSArray<List *> *list;//

@property (nonatomic, assign) NSInteger total;//留言数

@property (nonatomic, assign) NSInteger next_page;//是否有更多页1 有 0 没有

@end

@interface Topic_Info : NSObject

@property (nonatomic, assign) NSInteger is_recommend;//是否推荐 1 推荐 0 未推荐

@property (nonatomic, copy) NSString *uid;//用户id

@property (nonatomic, copy) NSString *anime;//动漫名

@property (nonatomic, copy) NSString *id;//动态id

@property (nonatomic, copy) NSString *time_name;//添加时间

@property (nonatomic, assign) NSInteger is_collect;//是否收藏  1收藏 0 未收藏

@property (nonatomic, strong) NSArray<Vote_Up_Head *> *vote_up_head;//点赞用户集合

@property (nonatomic, copy) NSString *nickname;//用户名

@property (nonatomic, copy) NSString *browse_num;//浏览数

@property (nonatomic, strong) NSArray<NSString *> *interest_labels;//兴趣标签集合

@property (nonatomic, copy) NSString *video_id;//视屏id

@property (nonatomic, copy) NSString *at;//@用户

@property (nonatomic, assign) NSInteger is_vote_up;//是否点赞

@property (nonatomic, copy) NSString *views;//视频地址

@property (nonatomic, assign) NSInteger is_follow;//是否关注 0 未关注 1 已关注 2 互粉

@property (nonatomic, assign) NSInteger fav;//是否点赞 1 点赞 0 未点赞

@property (nonatomic, copy) NSString *comment_count;//留言数

@property (nonatomic, copy) NSString *content;//留言详情

@property (nonatomic, copy) NSString *head_pic;//头像地址

@property (nonatomic, assign) NSInteger vote_up;//是否点赞1 点赞0 未点赞

@property (nonatomic, assign) NSInteger is_concern;//关注状态 0 未关注 1 已关注 2 未关注

@property (nonatomic, assign) NSInteger vote_up_count;//点赞数

@property (nonatomic, strong) NSArray<Goods_List *> *goods_list;//商品列表

@property (nonatomic, copy) NSString *title;//动态标题

@property (nonatomic, copy) NSString *time;//发布时间

@property (nonatomic, strong) NSArray<Goods_Pic *> *goods_pic;//商品图片地址

@end

@interface Vote_Up_Head : NSObject//点赞用户集合

@property (nonatomic, assign) NSInteger uid;//用户id

@property (nonatomic, copy) NSString *nickname;//用户名

@property (nonatomic, copy) NSString *head_pic;//头像地址

@end

@interface Goods_List : NSObject//商品列表(参考商品列表)

@property (nonatomic, copy) NSString *praise;

@property (nonatomic, copy) NSString *volume;//浏览数

@property (nonatomic, copy) NSString *id;//商品id

@property (nonatomic, copy) NSString *pic;//商品图片地址

@property (nonatomic, copy) NSString *title;//商品标题

@property (nonatomic, copy) NSString *price;//商品原价

@property (nonatomic, copy) NSString *view;

@property (nonatomic, copy) NSString *num_iid;

@property (nonatomic, copy) NSString *fav;

@property (nonatomic, copy) NSString *link;//商品链接

@property (nonatomic, copy) NSString *is_taobao;//商品来源

@end

@interface Goods_Pic : NSObject

@property (nonatomic, assign) NSInteger height;//长

@property (nonatomic, strong) NSArray<Tags *> *tags;//标签集合

@property (nonatomic, copy) NSString *name;//商品名

@property (nonatomic, copy) NSString *img_path;//图片地址

@property (nonatomic, assign) NSInteger width;//宽

@end

@interface Tags : NSObject//标签集合

@property (nonatomic, assign) CGFloat y;//位置

@property (nonatomic, assign) NSInteger index;//序号

@property (nonatomic, copy) NSString *pic_url;//

@property (nonatomic, assign) CGFloat x;//位置

@property (nonatomic, copy) NSString *type;//类型

@property (nonatomic, copy) NSString *text;//文字

@end

@interface List : NSObject//评论列表

@property (nonatomic, copy) NSString *tid;//动态id

@property (nonatomic, copy) NSString *time;//发布时间

@property (nonatomic, copy) NSString *nickname;//用户名

@property (nonatomic, copy) NSString *head_pic;//头像地址

@property (nonatomic, assign) long long sort_value;//留言偏移量

@property (nonatomic, assign) NSInteger is_top;//是否置顶 1 置顶 0 未置顶

@property (nonatomic, copy) NSString *id;//评论id

@property (nonatomic, copy) NSString *uid;//用户id

@property (nonatomic, assign) NSInteger next_page;//是否有下一页 1 有下一页 0 没有下一页

@property (nonatomic, assign) NSInteger lie_num;//评论点亮数

@property (nonatomic, strong) NSArray<Comment_List *> *comment_list;//回复集合

@property (nonatomic, assign) NSInteger is_lie;//是否点亮

@property (nonatomic, assign) NSInteger comment_count;//回复数

@property (nonatomic, copy) NSString *content;//回复内容

@end

@interface Comment_List : NSObject

@property (nonatomic, copy) NSString *id;//回复id

@property (nonatomic, copy) NSString *tid;//动态id

@property (nonatomic, copy) NSString *uid;//用户uid

@property (nonatomic, copy) NSString *reply_id;//评论id

@property (nonatomic, copy) NSString *head_pic;//回复用户头像地址

@property (nonatomic, copy) NSString *time;//添加时间

@property (nonatomic, assign) NSInteger sort_value;//回复偏移量

@property (nonatomic, copy) NSString *user_name;//回复用户名

@property (nonatomic, copy) NSString *to_user_name;//上级用户用户名

@property (nonatomic, copy) NSString *to_head_pic;//上级用户头像地址

@property (nonatomic, copy) NSString *to_uid;//上级用户uid

@property (nonatomic, copy) NSString *content;//回复内容

@end
最后修改者: admin  2017-12-29 14:10:34 

取消关注(002)

编号  :  002

POST - ?r=api&m=follow&ac=doCancelFollowUsers&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
follow_uid int Y 被关注用户uid
token string Y 用户登入校验位
u string Y 用户数据校验位
返回值
success:true为成功,false为失败
status: 100, -100
msg:返回消息
data:1
最后修改者: admin  2017-12-29 14:10:27 

关注用户(001)

编号  :  001

POST - ?r=api&m=follow&ac=doFollowUsers&v=1.0.0
请求参数
参数名 参数类型 必传 缺省值 描述
follow_uid int Y rU8hQ12zV1cnWyiqPcDNNQ== 关注用户uid
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户登入校验
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户数据校验
返回值
success:true为成功,false为失败
status: 100, -100
msg:返回消息
data:1
最后修改者: admin  2017-12-13 14:00:45 

动态留言/回复(007)已关闭

编号  :  007

POST - ?r=api&m=topicDetails&ac=doLeaveReply&v=1.0
回复动态:只需要传tid 回复留言:留言id,留言对应的用户id
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y 动态id
reply_id int N 留言id
token string Y 用户登入校验
u string Y 用户信息校验
to_uid int N 上级留言用户uid
content string Y 回复内容
返回值
Array
(
      [success] => true
      [status] => 100
      [msg] => 添加留言成功
      [data] => 
)
json示例:
{"success":true,"status":100,"msg":"添加留言成功","data":[]}
最后修改者: admin  2017-12-13 11:28:42 

获取动态TOP留言(008)已关闭

编号  :  008

POST - ?r=api&m=comment&ac=getTopCommentList&v=1.0
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y 动态id
返回值
Array
(
      [success] => true
      [status] => 100
      [msg] => 获取数据成功
      [data] => Array
      (
            [0] => Array
            (
                  [id] => 40
                  [uid] => 1
                  [reply_id] => 0
                  [to_uid] => 0
                  [sort] => 103
                  [content] => 这个是回复用户1
                  [time] => 2017-11-16 23:14:09
                  [status] => 1
                  [del_status] => 0
                  [tid] => 3562
                  [self] => -1
                  [note] => 
                  [pass_time] => 2017-11-16 23:51:20
                  [time_name] => 11-16  23:14
                  [reply_list] => Array
                  (
                        [total] => 5
                        [has_more] => 1
                        [list] => Array
                        (
                              [0] => Array
                              (
                                    [id] => 45
                                    [uid] => 8
                                    [reply_id] => 40
                                    [to_uid] => 1
                                    [sort] => 0
                                    [content] => 这个是回复用户1
                                    [time] => 2017-11-17 01:22:02
                                    [status] => 1
                                    [del_status] => 0
                                    [tid] => 3562
                                    [self] => -1
                                    [note] => 
                                    [pass_time] => 2017-11-21 18:21:13
                                    [time_name] => 11-17  01:22
                              )
                        )
                  )
            )
      )
)
json示例:
{"success":true,"status":100,"msg":"获取数据成功","data":[{"id":"40","uid":"1","reply_id":"0","to_uid":"0","sort":"103","content":"这个是回复用户1","time":"2017-11-16 23:14:09","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":"2017-11-16 23:51:20","reply_list":{"total":5,"has_more":1,"list":[{"id":"45","uid":"8","reply_id":"40","to_uid":"1","sort":"0","content":"这个是回复用户1","time":"2017-11-17 01:22:02","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":"2017-11-21 18:21:13","time_name":"11-17  01:22"},{"id":"44","uid":"8","reply_id":"40","to_uid":"1","sort":"0","content":"这个是回复用户1","time":"2017-11-17 01:22:00","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-17  01:22"},{"id":"43","uid":"8","reply_id":"40","to_uid":"1","sort":"0","content":"这个是回复用户1","time":"2017-11-17 01:21:58","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-17  01:21"},{"id":"42","uid":"8","reply_id":"40","to_uid":"1","sort":"0","content":"这个是回复用户1","time":"2017-11-17 01:21:56","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-17  01:21"}]}}]}
备注
@property (nonatomic, assign) BOOL success;

@property (nonatomic, assign) NSInteger status;//返回消息状态码

@property (nonatomic, strong) NSArray<Data *> *data;//返回消息数据集合

@property (nonatomic, copy) NSString *msg;//返回消息提示语
@class Data,Reply_List,List;
@interface Data : NSObject

@property (nonatomic, copy) NSString *id;//回复id

@property (nonatomic, copy) NSString *status;//评论回复

@property (nonatomic, copy) NSString *tid;//动态id

@property (nonatomic, copy) NSString *uid;//用户id

@property (nonatomic, copy) NSString *note;//备注

@property (nonatomic, copy) NSString *pass_time;

@property (nonatomic, copy) NSString *reply_id;//回复评论id

@property (nonatomic, copy) NSString *time;//添加时间

@property (nonatomic, copy) NSString *del_status;

@property (nonatomic, copy) NSString *self;//私有化

@property (nonatomic, strong) Reply_List *reply_list;//回复列表

@property (nonatomic, copy) NSString *to_uid;//回复用户id

@property (nonatomic, copy) NSString *sort;//排序值

@property (nonatomic, copy) NSString *content;//回复内容

@end

@interface Reply_List : NSObject

@property (nonatomic, assign) NSInteger total;//回复数

@property (nonatomic, assign) NSInteger has_more;//是否有更多

@property (nonatomic, strong) NSArray<List *> *list;//回复数据集合

@end

@interface List : NSObject

@property (nonatomic, copy) NSString *id;//评论ID

@property (nonatomic, copy) NSString *status;状态

@property (nonatomic, copy) NSString *tid;//动态id

@property (nonatomic, copy) NSString *uid;//用户id

@property (nonatomic, copy) NSString *note;//备注

@property (nonatomic, copy) NSString *pass_time;

@property (nonatomic, copy) NSString *reply_id;//回复id

@property (nonatomic, copy) NSString *time;//添加时间(请使用time_name)

@property (nonatomic, copy) NSString *del_status;//删除状态

@property (nonatomic, copy) NSString *self;//私有化

@property (nonatomic, copy) NSString *time_name;//时间规范化输出

@property (nonatomic, copy) NSString *to_uid;//回复用户uid

@property (nonatomic, copy) NSString *sort;//排序值

@property (nonatomic, copy) NSString *content;//评论内容

@end
最后修改者: admin  2017-12-13 09:44:05 

动态点赞列表(015)已关闭

编号  :  015

POST - ?r=api&m=topicDetails&ac=getLikeList&v=1.0
加密
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y fYrfXXMkZHQUzDX6QVRKTA== 动态点赞列表
u string Y X1JZ7OFX5Ni0bVpOHjvOY4b++tztANdY/MlRJXG/3HVkE73OM636aDrs+JzkJUS4 用户识别码
token string Y pBf2elTW+gkxQ1fdhDx3XyoGoO2H/hvqYZx0lS/WGH4= 用户token
返回值
Array
(
      [status] => 1
      [msg] => 获取信息成功
      [data] => Array
      (
            [like_user_list] => Array
            (
                  [0] => Array
                  (
                        [head_pic] => http://test.app.1yuan2ci.com/static/app/image/default.jpg
                        [nickname] => 这个昵称不太帅
                        [uid] => 4
                  )
               
            )
            [like_num] => 0
            [is_like] => true
            [login_uid] => 1
      )
)
备注
@property (nonatomic, assign) NSInteger status;//消息返回状态

@property (nonatomic, copy) NSString *msg;//消息提醒

@property (nonatomic, strong) Data *data;//数据集合

@class Data,Like_User_List;
@interface Data : NSObject

@property (nonatomic, assign) NSInteger like_num;//点赞数辆

@property (nonatomic, strong) NSArray<Like_User_List *> *like_user_list;//点赞用户集合

@property (nonatomic, assign) BOOL is_like;//当前用户点赞是否登入

@property (nonatomic, assign) NSInteger login_uid;//登入用户uid

@end

@interface Like_User_List : NSObject

@property (nonatomic, assign) NSInteger uid;//用户uid

@property (nonatomic, copy) NSString *nickname;//用户名

@property (nonatomic, copy) NSString *head_pic;//头像地址


@end
最后修改者: admin  2017-12-13 14:01:17 

获取动态评论接口(006)已关闭

编号  :  006

POST - ?r=api&m=topicDetails&ac=getCommentList&v=1.0
请求参数
参数名 参数类型 必传 缺省值 描述
tid int Y 用户动态ID
token string N
u string N
offset int Y
limit int Y 每页显示留言数
返回值
Array
(
      [success] => true
      [status] => 100
      [msg] => 获取留言成功
      [data] => Array
      (
            [total] => 25
            [has_more] => 1
            [list] => Array
            (
                  [0] => Array
                  (
                        [id] => 47
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 3
                        [content] => fgfdsfg贵公司啊啊啊
                        [time] => 2017-11-21 02:13:11
                        [status] => -1
                        [del_status] => 0
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [time_name] => 昨天  02:13
                  )
                  [1] => Array
                  (
                        [id] => 46
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 97
                        [content] => adfadf
                        [time] => 2017-11-21 02:12:28
                        [status] => -1
                        [del_status] => 0
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [time_name] => 昨天  02:12
                  )
                  [2] => Array
                  (
                        [id] => 40
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 103
                        [content] => 这个是回复用户1
                        [time] => 2017-11-16 23:14:09
                        [status] => 1
                        [del_status] => 0
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => 2017-11-16 23:51:20
                        [time_name] => 11-16  23:14
                        [reply_list] => Array
                        (
                              [total] => 5
                              [has_more] => 1
                              [list] => Array
                              (
                                    [0] => Array
                                    (
                                          [id] => 45
                                          [uid] => 8
                                          [reply_id] => 40
                                          [to_uid] => 1
                                          [sort] => 0
                                          [content] => 这个是回复用户1
                                          [time] => 2017-11-17 01:22:02
                                          [status] => 1
                                          [del_status] => 0
                                          [tid] => 3562
                                          [self] => -1
                                          [note] => 
                                          [pass_time] => 2017-11-21 18:21:13
                                          [time_name] => 11-17  01:22
                                    )
                                    [1] => Array
                                    (
                                          [id] => 44
                                          [uid] => 8
                                          [reply_id] => 40
                                          [to_uid] => 1
                                          [sort] => 0
                                          [content] => 这个是回复用户1
                                          [time] => 2017-11-17 01:22:00
                                          [status] => 1
                                          [del_status] => 0
                                          [tid] => 3562
                                          [self] => -1
                                          [note] => 
                                          [pass_time] => null
                                          [time_name] => 11-17  01:22
                                    )
                                    [2] => Array
                                    (
                                          [id] => 43
                                          [uid] => 8
                                          [reply_id] => 40
                                          [to_uid] => 1
                                          [sort] => 0
                                          [content] => 这个是回复用户1
                                          [time] => 2017-11-17 01:21:58
                                          [status] => 1
                                          [del_status] => 0
                                          [tid] => 3562
                                          [self] => -1
                                          [note] => 
                                          [pass_time] => null
                                          [time_name] => 11-17  01:21
                                    )
                                    [3] => Array
                                    (
                                          [id] => 42
                                          [uid] => 8
                                          [reply_id] => 40
                                          [to_uid] => 1
                                          [sort] => 0
                                          [content] => 这个是回复用户1
                                          [time] => 2017-11-17 01:21:56
                                          [status] => 1
                                          [del_status] => 0
                                          [tid] => 3562
                                          [self] => -1
                                          [note] => 
                                          [pass_time] => null
                                          [time_name] => 11-17  01:21
                                    )
                              )
                        )
                  )
                  [3] => Array
                  (
                        [id] => 39
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 0
                        [content] => 这个是回复用户1
                        [time] => 2017-11-16 23:12:29
                        [status] => -1
                        [del_status] => 2
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [time_name] => 11-16  23:12
                  )
                  [4] => Array
                  (
                        [id] => 38
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 0
                        [content] => 这个是回复用户1
                        [time] => 2017-11-16 23:00:14
                        [status] => -1
                        [del_status] => 2
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [time_name] => 11-16  23:00
                  )
                  [5] => Array
                  (
                        [id] => 37
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 0
                        [content] => 这个是回复用户1
                        [time] => 2017-11-16 23:00:14
                        [status] => -1
                        [del_status] => 2
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [time_name] => 11-16  23:00
                  )
                  [6] => Array
                  (
                        [id] => 36
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 0
                        [content] => 这个是回复用户1
                        [time] => 2017-11-16 23:00:13
                        [status] => -1
                        [del_status] => 2
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [time_name] => 11-16  23:00
                  )
                  [7] => Array
                  (
                        [id] => 35
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 0
                        [content] => 这个是回复用户1
                        [time] => 2017-11-16 23:00:12
                        [status] => -1
                        [del_status] => 2
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [time_name] => 11-16  23:00
                  )
                  [8] => Array
                  (
                        [id] => 34
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 0
                        [content] => 这个是回复用户1
                        [time] => 2017-11-16 23:00:11
                        [status] => -1
                        [del_status] => 2
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => null
                        [time_name] => 11-16  23:00
                  )
                  [9] => Array
                  (
                        [id] => 33
                        [uid] => 1
                        [reply_id] => 0
                        [to_uid] => 0
                        [sort] => 11
                        [content] => 这个是回复用户1
                        [time] => 2017-11-16 23:00:10
                        [status] => 1
                        [del_status] => 0
                        [tid] => 3562
                        [self] => -1
                        [note] => 
                        [pass_time] => 2017-11-17 00:03:52
                        [time_name] => 11-16  23:00
                  )
            )
      )
)

{"success":true,"status":100,"msg":"获取留言成功","data":{"total":25,"has_more":1,"list":[{"id":"47","uid":"1","reply_id":"0","to_uid":"0","sort":"3","content":"fgfdsfg贵公司啊啊啊","time":"2017-11-21 02:13:11","status":"-1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"昨天  02:13"},{"id":"46","uid":"1","reply_id":"0","to_uid":"0","sort":"97","content":"adfadf","time":"2017-11-21 02:12:28","status":"-1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"昨天  02:12"},{"id":"40","uid":"1","reply_id":"0","to_uid":"0","sort":"103","content":"这个是回复用户1","time":"2017-11-16 23:14:09","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":"2017-11-16 23:51:20","time_name":"11-16  23:14","reply_list":{"total":5,"has_more":1,"list":[{"id":"45","uid":"8","reply_id":"40","to_uid":"1","sort":"0","content":"这个是回复用户1","time":"2017-11-17 01:22:02","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":"2017-11-21 18:21:13","time_name":"11-17  01:22"},{"id":"44","uid":"8","reply_id":"40","to_uid":"1","sort":"0","content":"这个是回复用户1","time":"2017-11-17 01:22:00","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-17  01:22"},{"id":"43","uid":"8","reply_id":"40","to_uid":"1","sort":"0","content":"这个是回复用户1","time":"2017-11-17 01:21:58","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-17  01:21"},{"id":"42","uid":"8","reply_id":"40","to_uid":"1","sort":"0","content":"这个是回复用户1","time":"2017-11-17 01:21:56","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-17  01:21"}]}},{"id":"39","uid":"1","reply_id":"0","to_uid":"0","sort":"0","content":"这个是回复用户1","time":"2017-11-16 23:12:29","status":"-1","del_status":"2","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-16  23:12"},{"id":"38","uid":"1","reply_id":"0","to_uid":"0","sort":"0","content":"这个是回复用户1","time":"2017-11-16 23:00:14","status":"-1","del_status":"2","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-16  23:00"},{"id":"37","uid":"1","reply_id":"0","to_uid":"0","sort":"0","content":"这个是回复用户1","time":"2017-11-16 23:00:14","status":"-1","del_status":"2","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-16  23:00"},{"id":"36","uid":"1","reply_id":"0","to_uid":"0","sort":"0","content":"这个是回复用户1","time":"2017-11-16 23:00:13","status":"-1","del_status":"2","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-16  23:00"},{"id":"35","uid":"1","reply_id":"0","to_uid":"0","sort":"0","content":"这个是回复用户1","time":"2017-11-16 23:00:12","status":"-1","del_status":"2","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-16  23:00"},{"id":"34","uid":"1","reply_id":"0","to_uid":"0","sort":"0","content":"这个是回复用户1","time":"2017-11-16 23:00:11","status":"-1","del_status":"2","tid":"3562","self":"-1","note":"","pass_time":null,"time_name":"11-16  23:00"},{"id":"33","uid":"1","reply_id":"0","to_uid":"0","sort":"11","content":"这个是回复用户1","time":"2017-11-16 23:00:10","status":"1","del_status":"0","tid":"3562","self":"-1","note":"","pass_time":"2017-11-17 00:03:52","time_name":"11-16  23:00"}]}}