Home - 夜聊 登录  

拼接地址: http://47.105.165.134:8090/meishi/

所有的图片路径前面都要加上 http://47.105.165.134:8090/meishi/,头像路径需要判断是否是第三方登录返回的

post方式传参,传的参数用base64加密,加密后的参数名parameter,上传图片时不用加密

最后修改者: root  2018-07-19 08:51:58 

手机号注册

编号  :  001

POST - api.php/user/register?args=
请求参数
参数名 必传 描述
mobile Y 手机号
birthday Y 生日 2018--5-20
password Y 密码
city_id Y 城市编号
sex Y
ma N 推荐码
username Y 昵称
avatar N 不穿,默认
返回值
{
  "code": 200,
  "message": "注册成功",
  "datas": {
    "id": "5",
    "mobile": "12345123",
    "password": "YZdmZZI=",
    "username": "大娃娃",
    "birthday": "2018-3-4",
    "city_id": "22",
    "chat_type": "",
    "photo_img": null,
    "addtime": "2018-07-19 08:40:01",
    "sex": "男",
    "token": "eDVHDblhizvxzwZSzGXI+F3NGDbMjItIxK6oY+OMuVQ8QOfNZbeGtDgdPBcsygISOtIHZkZwcbIVEj6dotoYZA==",
    "qq_openid": "",
    "wx_openid": "",
    "state": "1",
    "disable": "0",
    "lat": "",
    "lng": "",
    "selfie": "",
    "avatar": "Uploads/123.png",
    "request_num": "0",
    "marked_price": "0",
    "is_xian": "1",
    "ma": "1531960801604",
    "tape_nun": "7"
  }
}
最后修改者: root  2019-05-08 08:28:43 

新版本的用这个语音视频杀死进程的用这个接口,老版本接口也存在不用变

编号  :  10

POST - api.php/signNew/time_long?args=
请求参数
参数名 必传 描述
addtime N 开始时间 2018-08-14 16:34:45(24小时制)第一次穿开始时间,
time_long Y 间隔时长,秒数,
userid Y
belong_id Y 对方用户编号
type Y 1语音2视频
frist_id Y 首次记录的编号
返回值
{
  "code": 200,
  "message": "更新成功",
  "datas": {
    "id": "29",
    "userid": "4",
    "type": "2",
    "other_id": "0",
    "belong_id": "5",
    "remark": "视频聊天消费聊币",
    "payment": "3",
    "zhen_price": "0.00",
    "talk_money": "152",
    "addtime": "2018-05-06 12:34:34",
    "start_time": "2018-5-6 12:34:34",
    "end_time": "2018-05-06 12:42:04",
    "zhi_tiao": "0",
    "miao": "450",
    "fen": "8"
  }
}
最后修改者: root  2019-05-08 07:58:29 

每一分钟更新一次时间

编号  :  10

POST - api.php/signP/polling_fen_front?args=
请求参数
参数名 必传 描述
id Y
返回值
{
  "code": 200,
  "message": "更新成功",
  "datas": {
        "id": "1",
        "addtime": "2019-5-7 10:01:40",
        "endtime": "1557194534",
        "state": "1",
        "userid": "99",
        "belong_id": "1",
        "type": "3",
        "start_time": "1557194534"
    }
  
}
最后修改者: root  2019-05-07 10:02:38 

语音视频记录首次时间

编号  :  10

POST - api.php/signP/first_record?args=
请求参数
参数名 必传 描述
addtime N 开始时间 2018-08-14 16:34:45(24小时制)第一次穿开始时间,
userid Y
belong_id Y 对方用户编号
type Y 1语音2视频
返回值
{
    "code": 200,
    "message": "首次记录时间成功",
    "datas": {
        "id": "1",
        "addtime": "2019-5-7 10:01:40",
        "endtime": "1557194534",
        "state": "1",
        "userid": "99",
        "belong_id": "1",
        "type": "3",
        "start_time": "1557194534"
    }
}
最后修改者: root  2019-04-15 15:19:40 

解绑支付宝

编号  :  10

POST - api.php/user/unset_bind_alipay?args=
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "解绑成功",
    "datas": []
}
最后修改者: root  2018-12-15 10:29:35 

提现记录

编号  :  10

POST - api.php/user/money_list?args=
请求参数
参数名 必传 描述
userid Y
page Y
size Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "id": "27",
            "userid": "224",
            "moneys": "0.20",
            "applytime": "2018-12-14 15:41:21",
            "dealtime": "2018-12-14 16:00:47",
            "isagree": "2",
            "orderid": null,
            "remark": "提现",
            "remark_d": null,
            "number": "guanmingyuan008@163.com",
            "name": "管明源",
            "type": "1",
            "open": "1",
            "talk_moneys": "20",
            "userinfo": {
                "id": "224",
                "username": "honey",
                "avatar": "Uploads/20181130/5c00875872280.jpg"
            }
        },
        {
            "id": "30",
            "userid": "224",
            "moneys": "20.00",
            "applytime": "2018-12-14 16:03:04",
            "dealtime": "2018-12-14 16:04:52",
            "isagree": "2",
            "orderid": null,
            "remark": "提现",
            "remark_d": null,
            "number": "guanmingyuan008@163.com",
            "name": "管明源",
            "type": "1",
            "open": "1",
            "talk_moneys": "2000",
            "userinfo": {
                "id": "224",
                "username": "honey",
                "avatar": "Uploads/20181130/5c00875872280.jpg"
            }
        },
        {
            "id": "31",
            "userid": "224",
            "moneys": "20.00",
            "applytime": "2018-12-14 16:04:58",
            "dealtime": "2018-12-14 16:21:32",
            "isagree": "2",
            "orderid": null,
            "remark": "提现",
            "remark_d": null,
            "number": "guanmingyuan008@163.com",
            "name": "管明源",
            "type": "1",
            "open": "1",
            "talk_moneys": "2000",
            "userinfo": {
                "id": "224",
                "username": "honey",
                "avatar": "Uploads/20181130/5c00875872280.jpg"
            }
        },
        {
            "id": "34",
            "userid": "224",
            "moneys": "0.10",
            "applytime": "2018-12-14 16:21:42",
            "dealtime": "2018-12-14 16:23:28",
            "isagree": "1",
            "orderid": null,
            "remark": "提现",
            "remark_d": null,
            "number": "guanmingyuan008@163.com",
            "name": "管明源",
            "type": "1",
            "open": "1",
            "talk_moneys": "2000",
            "userinfo": {
                "id": "224",
                "username": "honey",
                "avatar": "Uploads/20181130/5c00875872280.jpg"
            }
        },
        {
            "id": "36",
            "userid": "224",
            "moneys": "0.10",
            "applytime": "2018-12-14 17:15:00",
            "dealtime": "2018-12-14 17:17:40",
            "isagree": "1",
            "orderid": null,
            "remark": "提现",
            "remark_d": null,
            "number": "guanmingyuan008@163.com",
            "name": "管明源",
            "type": "1",
            "open": "1",
            "talk_moneys": "1000",
            "userinfo": {
                "id": "224",
                "username": "honey",
                "avatar": "Uploads/20181130/5c00875872280.jpg"
            }
        }
    ]
}
最后修改者: root  2019-05-07 10:04:45 

语音视频新接口

编号  :  10

POST - api.php/sign/time_long?args=
请求参数
参数名 必传 描述
addtime N 开始时间 2018-08-14 16:34:45(24小时制)第一次穿开始时间,
time_long Y 间隔时长,秒数,
userid Y
belong_id Y 对方用户编号
type Y 1语音2视频
frist_id Y 首次记录的编号
返回值
{
  "code": 200,
  "message": "更新成功",
  "datas": {
    "id": "29",
    "userid": "4",
    "type": "2",
    "other_id": "0",
    "belong_id": "5",
    "remark": "视频聊天消费聊币",
    "payment": "3",
    "zhen_price": "0.00",
    "talk_money": "152",
    "addtime": "2018-05-06 12:34:34",
    "start_time": "2018-5-6 12:34:34",
    "end_time": "2018-05-06 12:42:04",
    "zhi_tiao": "0",
    "miao": "450",
    "fen": "8"
  }
}
最后修改者: root  2018-12-07 14:43:35 

登录调用接口

编号  :  10

POST - /api.php/User/user_out_time/
请求参数
参数名 必传 描述
userid Y
out_time Y 时间戳
返回值
{
    "code": 200,
    "message": "查询成功",
    [
    ]
}
最后修改者: root  2018-12-05 14:26:40 

清除系统通知消息数字

编号  :  10

POST - /api.php/User/del_push_system/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "Id": "2",
            "userid": "224",
            "belong_id": "273",
            "content": "%E6%96%A4%E6%96%A4%E8%AE%A1%E8%BE%83",
            "room": "1542703354589",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "3",
            "userid": "273",
            "belong_id": "224",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706513838",
            "type": "1",
            "self_user": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            },
            "other_info": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            }
        },
        {
            "Id": "4",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706520598",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "5",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707127162",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "6",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707558614",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "7",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707727342",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        }
    ]
}
最后修改者: root  2018-12-05 14:26:32 

清除推送给自己的消息数

编号  :  10

POST - /api.php/User/del_push_my/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "Id": "2",
            "userid": "224",
            "belong_id": "273",
            "content": "%E6%96%A4%E6%96%A4%E8%AE%A1%E8%BE%83",
            "room": "1542703354589",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "3",
            "userid": "273",
            "belong_id": "224",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706513838",
            "type": "1",
            "self_user": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            },
            "other_info": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            }
        },
        {
            "Id": "4",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706520598",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "5",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707127162",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "6",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707558614",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "7",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707727342",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        }
    ]
}
最后修改者: root  2018-12-05 14:26:19 

统计系统消息数

编号  :  10

POST - /api.php/User/push_system_count/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "Id": "2",
            "userid": "224",
            "belong_id": "273",
            "content": "%E6%96%A4%E6%96%A4%E8%AE%A1%E8%BE%83",
            "room": "1542703354589",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "3",
            "userid": "273",
            "belong_id": "224",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706513838",
            "type": "1",
            "self_user": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            },
            "other_info": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            }
        },
        {
            "Id": "4",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706520598",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "5",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707127162",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "6",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707558614",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "7",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707727342",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        }
    ]
}
最后修改者: root  2018-12-05 12:07:01 

统计自己的推送的的消息的数

编号  :  10

POST - /api.php/User/push_my_count/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "Id": "2",
            "userid": "224",
            "belong_id": "273",
            "content": "%E6%96%A4%E6%96%A4%E8%AE%A1%E8%BE%83",
            "room": "1542703354589",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "3",
            "userid": "273",
            "belong_id": "224",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706513838",
            "type": "1",
            "self_user": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            },
            "other_info": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            }
        },
        {
            "Id": "4",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706520598",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "5",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707127162",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "6",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707558614",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "7",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707727342",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        }
    ]
}
最后修改者: root  2018-12-05 11:24:44 

删除系统消息

编号  :  10

POST - /api.php/User/del_push_one/
请求参数
参数名 必传 描述
id Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "Id": "2",
            "userid": "224",
            "belong_id": "273",
            "content": "%E6%96%A4%E6%96%A4%E8%AE%A1%E8%BE%83",
            "room": "1542703354589",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "3",
            "userid": "273",
            "belong_id": "224",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706513838",
            "type": "1",
            "self_user": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            },
            "other_info": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            }
        },
        {
            "Id": "4",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706520598",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "5",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707127162",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "6",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707558614",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "7",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707727342",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        }
    ]
}
最后修改者: root  2018-12-05 13:34:53 

清除通话记录

编号  :  10

POST - /api.php/User/del_user_video_history/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "Id": "2",
            "userid": "224",
            "belong_id": "273",
            "content": "%E6%96%A4%E6%96%A4%E8%AE%A1%E8%BE%83",
            "room": "1542703354589",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "3",
            "userid": "273",
            "belong_id": "224",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706513838",
            "type": "1",
            "self_user": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            },
            "other_info": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            }
        },
        {
            "Id": "4",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706520598",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "5",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707127162",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "6",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707558614",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "7",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707727342",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        }
    ]
}
最后修改者: root  2018-11-21 09:13:58 

清空视频聊天

编号  :  10

POST - /api.php/User/del_user_chat/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "Id": "2",
            "userid": "224",
            "belong_id": "273",
            "content": "%E6%96%A4%E6%96%A4%E8%AE%A1%E8%BE%83",
            "room": "1542703354589",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "3",
            "userid": "273",
            "belong_id": "224",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706513838",
            "type": "1",
            "self_user": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            },
            "other_info": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            }
        },
        {
            "Id": "4",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706520598",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "5",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707127162",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "6",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707558614",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "7",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707727342",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        }
    ]
}
最后修改者: root  2018-11-20 18:02:16 

聊天list

编号  :  10

POST - /api.php/User/chat_list/
请求参数
参数名 必传 描述
room Y 自己造一个聊天的房间唯一字符串,类似于时间戳
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "Id": "2",
            "userid": "224",
            "belong_id": "273",
            "content": "%E6%96%A4%E6%96%A4%E8%AE%A1%E8%BE%83",
            "room": "1542703354589",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "3",
            "userid": "273",
            "belong_id": "224",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706513838",
            "type": "1",
            "self_user": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            },
            "other_info": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            }
        },
        {
            "Id": "4",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542706520598",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "5",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707127162",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "6",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707558614",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        },
        {
            "Id": "7",
            "userid": "224",
            "belong_id": "273",
            "content": "%E4%BD%A0%E5%A5%BD",
            "room": "1542707727342",
            "type": "2",
            "self_user": {
                "avatar": "Uploads/20181029/1.png",
                "username": "honey",
                "id": "224"
            },
            "other_info": {
                "avatar": "Uploads/20181120/5bf3b8a815a36.png",
                "username": "薛之谦",
                "id": "273"
            }
        }
    ]
}
最后修改者: root  2018-11-20 11:43:21 

发送聊天文字

编号  :  10

POST - /api.php/User/zhu_chat/
请求参数
参数名 必传 描述
room Y 自己造一个聊天的房间唯一字符串,类似于时间戳
userid Y 自己的编号
other_id Y 对方的编号
content Y 内容
type Y 1用户找主播;2主播找用户
返回值
{
    "code": 200, 
    "message": "查询成功", 
    "datas": [
        "111", 
        "方可开发", 
        "QQ", 
        "微信", 
        "404", 
        "09303"
    ]
}
最后修改者: root  2018-11-17 14:24:08 

屏蔽聊天内容

编号  :  10

POST - /api.php/User/ping_chat/
请求参数
参数名 必传 描述
返回值
{
    "code": 200, 
    "message": "查询成功", 
    "datas": [
        "111", 
        "方可开发", 
        "QQ", 
        "微信", 
        "404", 
        "09303"
    ]
}
最后修改者: root  2018-10-30 11:51:00 

删除好友

编号  :  10

POST - /api.php/User/del_friends/
请求参数
参数名 必传 描述
userid Y
id Y 1,2,3,4
返回值
{
    "code": 200,
    "message": "删除成功",
    "datas": [
        {
            "id": "2",
            "title": "青云漫步送您礼物了,请您查收",
            "content": "青云漫步送您礼物了,请您查收",
            "addtime": "2018-10-18 18:34:06",
            "type": "2",
            "beizhu": "青云漫步送您礼物了,请您查收",
            "userid": "221",
            "other_id": "302"
        }
    ]
}
最后修改者: root  2018-11-12 17:20:31 

推送给自己的消息

编号  :  10

POST - /api.php/User/tui_self/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "id": "46",
            "title": "22222送您礼物了,请您查收",
            "content": "22222送您礼物了,请您查收",
            "addtime": "2018-11-12 15:03:08",
            "type": "2",
            "beizhu": "22222送您礼物了,请您查收",
            "userid": "240",
            "other_id": "651",
            "ids": "651",
            "talk_money": "1",
            "belong_id2": "239",
            "num": "1",
            "other_id2": "1",
            "username": "11111",
            "gift_name": "红玫瑰",
            "content2": "11111送给你1个红玫瑰价值1"
        },
        {
            "id": "47",
            "title": "22222送您礼物了,请您查收",
            "content": "22222送您礼物了,请您查收",
            "addtime": "2018-11-12 15:16:54",
            "type": "2",
            "beizhu": "22222送您礼物了,请您查收",
            "userid": "240",
            "other_id": "652",
            "ids": "652",
            "talk_money": "1",
            "belong_id2": "239",
            "num": "1",
            "other_id2": "1",
            "username": "11111",
            "gift_name": "红玫瑰",
            "content2": "11111送给你1个红玫瑰价值1"
        },
        {
            "id": "48",
            "title": "22222送您礼物了,请您查收",
            "content": "22222送您礼物了,请您查收",
            "addtime": "2018-11-12 15:17:17",
            "type": "2",
            "beizhu": "22222送您礼物了,请您查收",
            "userid": "240",
            "other_id": "653",
            "ids": "653",
            "talk_money": "1",
            "belong_id2": "239",
            "num": "1",
            "other_id2": "1",
            "username": "11111",
            "gift_name": "红玫瑰",
            "content2": "11111送给你1个红玫瑰价值1"
        },
        {
            "id": "49",
            "title": "22222送您礼物了,请您查收",
            "content": "22222送您礼物了,请您查收",
            "addtime": "2018-11-12 15:23:07",
            "type": "2",
            "beizhu": "22222送您礼物了,请您查收",
            "userid": "240",
            "other_id": "654",
            "ids": "654",
            "talk_money": "200",
            "belong_id2": "239",
            "num": "1",
            "other_id2": "8",
            "username": "11111",
            "gift_name": "耳钉",
            "content2": "11111送给你1个耳钉价值200"
        },
        {
            "id": "55",
            "title": "22222送您礼物了,请您查收",
            "content": "22222送您礼物了,请您查收",
            "addtime": "2018-11-12 16:14:35",
            "type": "2",
            "beizhu": "22222送您礼物了,请您查收",
            "userid": "240",
            "other_id": "660",
            "ids": "660",
            "talk_money": "100",
            "belong_id2": "239",
            "num": "1",
            "other_id2": "6",
            "username": "11111",
            "gift_name": "巧克力",
            "content2": "11111送给你1个巧克力价值100"
        }
    ]
}
最后修改者: root  2018-10-18 16:37:12 

会员置顶显示(添加)

编号  :  10

POST - /api.php/User/zhi_top/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "置顶成功吧!",
    "datas": []
}

{
    "code": 400,
    "message": "请您6个小时后在操作!",
    "datas": []
}
{
    "code": 405,
    "message": "小纸条不足!!!",
    "datas": []
}
最后修改者: root  2018-11-30 14:46:40 

超级会员控制显示隐藏

编号  :  10

POST - http://47.105.116.167/api.php/User/hide_show_user/
请求参数
参数名 必传 描述
userid Y
type Y 1隐藏送出去的礼物;2显示送出去的礼物;3隐藏收到的礼物;4显示收到去的礼物;4隐藏土豪之;6显示土豪值;7隐藏排行榜;8显示排行榜;9退出离线;10登录在线
返回值
{
    "code": 200,
    "message": "修改成功",
    "datas": []
}
最后修改者: root  2018-10-18 15:27:51 

清空通话记录

编号  :  10

POST - http://47.105.116.167/api.php/User/qing_Voice_Record/
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "清空成功",
    "datas": []
}
最后修改者: root  2018-10-30 14:32:10 

通话记录列表

编号  :  10

POST - http://47.105.116.167/api.php/User/Voice_Record/
请求参数
参数名 必传 描述
userid Y
page Y
size Y
返回值
{
    "code": 200,
    "message": "获取通话记录成功",
    "datas": [
        {
            "id": "164",
            "belong_id": "164",
            "userid": "2",
            "addtime": "2018-10-18 15:03:27",
            "oid": "29",
            "userid_type": "2",
            "miao": "2",
            "type_one": "1",
            "belong_type": null,
            "avatar": "http://122.114.109.31/Uploads/20180901/5b89e2663b5b5.jpg",
            "username": "买辣椒也用券",
            "is_vip": 0
        }
    ]
}
最后修改者: root  2018-10-18 15:07:06 

通话记录的录入

编号  :  10

POST - http://47.105.116.167/api.php/User/Voice_operation/
请求参数
参数名 必传 描述
userid Y
belong_id Y
belong_type Y 1对方接通;对方没接
userid_type Y 1已经拨号
oid Y 对方接通吧id给我订单的没有接通传0
miao Y
type_one Y 1语音,2视频
返回值
{
    "code": 200,
    "message": "添加通话记录成功",
    "datas": []
}
最后修改者: root  2018-10-18 14:47:23 

评价星级

编号  :  10

POST - http://47.105.116.167/api.php/User/ping_fen/
请求参数
参数名 必传 描述
oid Y
userid Y
stars Y
返回值
{
    "code": 200,
    "message": "评星成功",
    "datas": []
}
最后修改者: root  2018-10-18 14:43:54 

获取通话语音时长

编号  :  10

POST - http://47.105.116.167/api.php/User/time_long_money/
请求参数
参数名 必传 描述
oid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": {
        "time": "7:30",
        "talk_money": "152"
    }
}
最后修改者: root  2018-10-11 16:07:06 

邀请赚钱(H5)

编号  :  10

GET - http://47.105.116.167/api.php/H5/zhuanqian/
请求参数
参数名 必传 描述
最后修改者: root  2018-10-11 16:07:53 

撩妹指南(H5)

编号  :  10

GET - http://47.105.116.167/api.php/H5/liaomei
请求参数
参数名 必传 描述
最后修改者: root  2018-11-16 16:40:54 

分享带邀请码

编号  :  10

GET - http://47.105.116.167/api.php/H5/share_ma?userid=193&ma=48r34830984384
请求参数
参数名 必传 描述
userid Y
ma Y
最后修改者: root  2018-10-09 14:59:13 

签到和分享状态判断

编号  :  10

POST - api.php/User/fen_state?args=
请求参数
参数名 必传 描述
userid Y 自己的编号
type Y 1签到;2微信;3qq
返回值
{
    "code": 200,
    "message": 今天没有签到",
    "datas": []
}
最后修改者: root  2018-10-09 11:39:59 

用户自定义视频语音价格

编号  :  10

POST - api.php/User/save_self_price?args=
请求参数
参数名 必传 描述
userid Y 自己的编号
type Y 1语音;视频
price Y 价格
返回值
{
    "code": 200,
    "message": "修改成功",
    "datas": []
}
最后修改者: root  2018-10-09 11:40:26 

设置是否空闲

编号  :  10

POST - api.php/User/save_is_kong?args=
请求参数
参数名 必传 描述
userid Y 自己的编号
type Y 1语音;视频
state Y 0不空闲;1空闲
返回值
{
    "code": 200,
    "message": "修改成功",
    "datas": []
}
最后修改者: root  2018-10-09 11:19:01 

修改个人聊天话题

编号  :  10

POST - api.php/User/save_user_chat?args=
请求参数
参数名 必传 描述
userid Y 自己的编号
chat_type Y
返回值
{
    "code": 200,
    "message": "修改成功",
    "datas": []
}
最后修改者: root  2018-10-09 11:06:18 

删除用户的所有相册

编号  :  10

POST - api.php/User/del_user_photo?args=
请求参数
参数名 必传 描述
userid Y 自己的编号
返回值
{
    "code": 200,
    "message": "删除成功",
    "datas": []
}
最后修改者: root  2018-09-30 10:30:38 

聊天,语音视频开始之前迪调此方法

编号  :  10

POST - api.php/User/chat_ago?args=
请求参数
参数名 必传 描述
userid Y 自己的编号
other_id Y 对方的编号
type Y 1文字;2语音;3视频
返回值
{
    "code": 200,
    "message": "您的聊币充足,尽情聊",
    "datas": {
        "total_talk_money": "79.80",
        "tape_num": "11"
    }
}


{
    "code": 400,
    "message": "您的聊币不足,请充值",
    "datas": {
        "total_talk_money": "0.00",
        "tape_num": "11"
    }
}
最后修改者: root  2018-09-28 14:13:40 

分型H5页面

编号  :  10

POST - http://47.105.116.167/api.php/H5/share
请求参数
参数名 必传 描述
最后修改者: root  2018-09-18 18:08:42 

获取个人话题标签

编号  :  10

POST - api.php/user/chat_user_name?args=
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        "情感",
        "星座",
        "文学",
        "车房",
        "佛像",
        ""
    ]
}
最后修改者: root  2018-09-11 15:10:05 

判断是否有注册QQ和微信

编号  :  10

POST - api.php/user/login_again?args=
登录(第三方登录和手机号登录)
请求参数
参数名 必传 描述
type Y 1微信;2QQ
openid Y 唯一标识
返回值
{
  "code": 400,
  "message": "账号当前用户未注册错误",
  "datas": {}
}

{
  "code": 200,
  "message": "当前用户已存在",
  "datas": {}
}
最后修改者: root  2018-08-23 17:37:12 

单独修改用户相册

编号  :  10

POST - api.php/user/save_user_album?args=
请求参数
参数名 必传 描述
userid Y
photo_img Y 个人照片(多图撒上传接口)
返回值
{
  "code": 200,
  "message": "更新用户相册成功",
  "datas": []
}
最后修改者: root  2018-08-23 14:52:36 

查询个人相册

编号  :  10

POST - api.php/user/user_album/?args=
请求参数
参数名 必传 描述
userid Y
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "id": "7",
      "photo_img": "Uploads/20180719/5b50025c24d82.jpg"
    },
    {
      "id": "8",
      "photo_img": "Uploads/20180719/5b50025c2620e.jpg"
    },
    {
      "id": "9",
      "photo_img": "Uploads/20180719/5b50025c27158.jpg"
    },
    {
      "id": "10",
      "photo_img": "Uploads/20180719/5b50025c24d82.jpg"
    }
  ]
}
最后修改者: root  2018-08-23 14:52:49 

系统消息通知

编号  :  10

POST - api.php/user/news/?args=
请求参数
参数名 必传 描述
userid Y
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "id": "1",
      "title": "吾问无为谓无无无2",
      "content": "222222222222222222111111111",
      "addtime": "2018-05-22 11:01:23",
      "type": "1",
      "beizhu": "1",
      "userid": "0",
      "other_id": "0"
    }
  ]
}
最后修改者: root  2018-08-23 14:53:21 

账单记录

编号  :  10

POST - api.php/user/reckoning_zhang/?args=
请求参数
参数名 必传 描述
userid Y
page Y 1开始
size Y
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "remark": "语音聊天消费聊币",
      "price": "19.00",
      "add_time": "2018-07-24 14:26:19",
      "other_id": "5",
      "type_p": "-"
    },
    {
      "remark": "主播提成收入-语音",
      "price": "10.45",
      "add_time": "2018-07-24 14:26:19",
      "other_id": "5",
      "type_p": "+"
    }
  ]
}
最后修改者: root  2018-07-26 15:18:26 

检查新版本

编号  :  10

POST - api.php/user/renew?args=
请求参数
参数名 必传 描述
oldversion Y 版本号
返回值
{
  "code": 400,
  "message": "有新版本了,请更新!!!!",
  "datas": []
}
最后修改者: root  2018-09-30 14:48:32 

邀请赚钱

编号  :  10

POST - api.php/user/invite_make_money?args=
请求参数
参数名 必传 描述
userid Y
page Y 1开始
size Y
type Y 1奖励排行;2邀请人数;3我邀请的人
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": {
        "scaling": {
            "girl_scaling": 0,
            "girl_num": 0,
            "boy_scaling": 0,
            "boy_num": 0
        },
        "dictionary": [
            {
                "id": "4",
                "type": "1",
                "scaling": "25",
                "name": "本周邀请男生达到20人一下下周比例(邀请奖励)",
                "num": "1-20",
                "type_class": "0"
            },
            {
                "id": "5",
                "type": "1",
                "scaling": "28",
                "name": "本周邀请男生达到50人下下周比例(邀请奖励)",
                "num": "21-50",
                "type_class": "0"
            },
            {
                "id": "8",
                "type": "2",
                "scaling": "8",
                "name": "本周邀请女生小于20人(邀请奖励)",
                "num": "1-20",
                "type_class": "0"
            },
            {
                "id": "9",
                "type": "2",
                "scaling": "10",
                "name": "本周邀请女生小于50人(邀请奖励)",
                "num": "21-50",
                "type_class": "0"
            },
            {
                "id": "10",
                "type": "2",
                "scaling": "12",
                "name": "本周邀请女生达到50人(邀请奖励)",
                "num": "50",
                "type_class": "0"
            },
            {
                "id": "12",
                "type": "1",
                "scaling": "32",
                "name": "本周邀请男生达到50人(邀请奖励)",
                "num": "51",
                "type_class": "0"
            }
        ],
        "my_self": {
            "id": "179",
            "avatar": "http://47.105.116.167/Uploads/20180917/5b9f26afa18b6.jpg",
            "username": "haha",
            "talk_money": "9.30",
            "is_vip": 0,
            "count_num_top": 8
        },
        "other": [
            {
                "total_talk_s": "460.92",
                "userid": "184",
                "avatar": "http://thirdqq.qlogo.cn/qqapp/1107760133/F4A246D1EBC7F80F960022D0B0218219/100",
                "username": "夕   映",
                "id": "184",
                "is_vip": "1"
            },
            {
                "total_talk_s": "374.65",
                "userid": "4",
                "avatar": "http://47.105.116.167/Uploads/20180719/5b50042b16701.jpg",
                "username": "1111",
                "id": "4",
                "is_vip": 0
            },
            {
                "total_talk_s": "157.56",
                "userid": "194",
                "avatar": "http://thirdqq.qlogo.cn/qqapp/101509330/857BE0C7276431B2F93CEBCF0C4C65EA/100",
                "username": "Android开发50年经验",
                "id": "194",
                "is_vip": 0
            },
            {
                "total_talk_s": "34.45",
                "userid": "5",
                "avatar": "http://47.105.116.167/Uploads/20180901/5b89e2663b5b5.jpg",
                "username": "大娃娃",
                "id": "5",
                "is_vip": "2"
            },
            {
                "total_talk_s": "10.45",
                "userid": "13",
                "avatar": "http://47.105.116.167/",
                "username": "",
                "id": "13",
                "is_vip": 0
            },
            {
                "total_talk_s": "9.30",
                "userid": "179",
                "avatar": "http://47.105.116.167/Uploads/20180917/5b9f26afa18b6.jpg",
                "username": "haha",
                "id": "179",
                "is_vip": 0
            },
            {
                "total_talk_s": "3.00",
                "userid": "192",
                "avatar": "http://thirdqq.qlogo.cn/qqapp/101509330/6BFF5DFEEC82EDA1FBE74DB9674C02E2/100",
                "username": "ggfffssss",
                "id": "192",
                "is_vip": 0
            }
        ]
    }
}
最后修改者: root  2018-11-07 16:16:45 

系统设置

编号  :  10

POST - api.php/user/system?args=
请求参数
参数名 必传 描述
type Y 1常见问题;2用户协议;3赚钱指南;4聊妹指南5奖励说明;6提现规则说明
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": {
    "id": "19",
    "title": "常见问题",
    "content": "一、挑选服务商1、什么是运营服务品牌商/传统企业以合同的方式,委托第三方电子商务运营服务商为其提供的网络零售/网络分销/营销推广/品牌建设/垂直频道运营等电子商务服务.选择运营服务商对企业的帮助:·缩短企业电商学习过程,加速企业发展进程。·提升企业变现效率,提高企业电子商务产能。·减少企业人员配置,降低成本,提升转化率。什么是天猫运营服务商?通过天猫资质审核,具有一定硬件和软件能力,可提供天猫店铺全部或部分的电商外包运营服务的第三方电商服务公司。2、服务商能提供哪些服务3、选择服务商的核心要素您可以通过浏览天猫运营服务网站,并对多个服务商进行比较与沟通的方式,选择合适的运营服务商。选择的核心要素为服务筛选、服务信息、服务商资质:(1)服务筛选:点击频道的“全部服务”,进入到服务筛选列表,有如下的筛选维度;(2)服务信息:点击通过各种维度筛选出来的某条服务,进入服务详情信息页面,进一步了解服务商能力;(3)服务商资质:通过查看服务商的资质(淘拍档、金银牌服务商、实地认证)以及线下沟通,全面了解服务商团队情况。二、沟通需求1、联系服务商通过服务详情页面左上方的联系卡片,可以与服务商直接进行沟通。(图3)2、沟通合作模式常见合作模式:在电商运营服务中,品牌商与服务商之间的整体托管或代运营的合作方式基本相同,唯一的差别在于是否负责解决店铺的物流系统、仓储,一般来说电商运营服务的合作方式分为5种。(图4)3、确认合作意向除了以上提到的挑选纬度和合作模式之外,在初步洽谈后可要求服务商拟定运营策划书,并以实地考察及策划书内容为基础,确定双方的合作意向,开始做合作前准备。三、线下签约1、为什么需要签约为了保证双方的权益,天猫建议各位品牌商与服务商之间务必签订服务合同,并在其中约定服务内容、权利、义务。2、合同要点· 有甲乙方公司名· 清晰的合同起止时间· 明确的服务内容、销售目标、甲乙方分工(建议根据1-2章节中“运营服务商能提供哪些服务”所列举的标准服务项进行合同撰写)· 双方公司章盖章四、线上报备1、为什么要线上报备· 保护双方利益,纠纷时有据可依(天猫仅受理已完成线上报备的服务合同的投诉)2、如何报备· 合同报备由服务商在天猫后台完成,您可以督促服务商完成上传。※天猫将保护合同的隐私性,该合同不会向任何第三方进行公开。",
    "addtime": "2018-04-28 15:44:04"
  }
}
最后修改者: root  2018-11-20 15:40:56 

收支明细

编号  :  10

POST - api.php/orders_xi/?args=
请求参数
参数名 必传 描述
userid Y
page Y 1开始
size Y
type Y 1聊天,2语音,3视频,4礼物,5充值;6开通vip100提现,0全部,7邀请
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "remark": "语音聊天消费聊币",
      "price": "19.00",
      "add_time": "2018-07-24 14:26:19",
      "other_id": "5",
      "type_p": "-"
    },
    {
      "remark": "主播提成收入-语音",
      "price": "10.45",
      "add_time": "2018-07-24 14:26:19",
      "other_id": "5",
      "type_p": "+"
    }
  ]
}
最后修改者: root  2018-07-26 15:05:30 

谁看过我

编号  :  10

POST - api.php/user/see_me?args=
请求参数
参数名 必传 描述
userid Y
page Y 1开始
size Y
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "id": "4",
      "username": "1111",
      "city_id": "130521",
      "avatar": "http://122.114.109.31/Uploads/20180719/5b50042b16701.jpg",
      "photo_img": [
        "Uploads/20180719/5b50025c24d82.jpg",
        "Uploads/20180719/5b50025c2620e.jpg",
        "Uploads/20180719/5b50025c27158.jpg",
        "Uploads/20180719/5b50025c24d82.jpg"
      ],
      "city_name": "邢台县"
    },
    {
      "id": "5",
      "username": "大娃娃",
      "city_id": "130521",
      "avatar": "http://122.114.109.31/Uploads/123.png",
      "photo_img": [],
      "city_name": "邢台县"
    }
  ]
}
最后修改者: root  2018-07-26 14:39:14 

分享QQ或是朋友圈

编号  :  10

POST - api.php/user/share?args=
请求参数
参数名 必传 描述
type Y 2朋友圈3QQ空间
userid Y
返回值
{
  "code": 200,
  "message": "分享成功",
  "datas": []
}
最后修改者: root  2018-07-26 14:39:28 

签到

编号  :  10

POST - api.php/user/sign_in?args=
请求参数
参数名 必传 描述
userid Y
返回值
{
  "code": 400,
  "message": "今天已经签到",
  "datas": {
    "id": "54",
    "userid": "4",
    "type": "1",
    "addtime": "1532586496",
    "remark": "vip签到双倍返现",
    "belong_id": "0"
  }
}
最后修改者: root  2018-09-07 17:46:16 

我的好友列表

编号  :  10

POST - api.php/user/my_friends?args=
请求参数
参数名 必传 描述
userid Y
page Y 1开始
size Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "username": "大娃娃1",
            "avatar": "http://122.114.109.31/Uploads/20180901/5b89e2663b5b5.jpg",
            "userid": "129",
            "id": "130",
            "city_id": "130521",
            "photo_img": [
                "Uploads/20180719/5b50025c24d82.jpg",
                "Uploads/20180719/5b50025c24d82.jpg"
            ],
            "city_name": "邢台县"
        },
        {
            "username": "大娃娃2",
            "avatar": "http://122.114.109.31/Uploads/20180901/5b89e25693184.jpg",
            "userid": "129",
            "id": "131",
            "city_id": "130521",
            "photo_img": [],
            "city_name": "邢台县"
        },
        {
            "username": "大娃娃3",
            "avatar": "http://122.114.109.31/Uploads/20180901/5b89e256912ff.jpg",
            "userid": "129",
            "id": "132",
            "city_id": "130521",
            "photo_img": [],
            "city_name": "邢台县"
        },
        {
            "username": "大娃娃4",
            "avatar": "http://122.114.109.31/Uploads/20180901/5b89e23031d1e.jpg",
            "userid": "129",
            "id": "133",
            "city_id": "130521",
            "photo_img": [],
            "city_name": "邢台县"
        },
        {
            "username": "大娃娃4",
            "avatar": "http://122.114.109.31/Uploads/20180901/5b89e23033ba3.jpg",
            "userid": "129",
            "id": "134",
            "city_id": "130521",
            "photo_img": [],
            "city_name": "邢台县"
        }
    ]
}
最后修改者: root  2018-09-21 20:21:10 

点击查看我送出和送给我的礼物列表

编号  :  10

POST - api.php/user/give_gift_all?args=
请求参数
参数名 必传 描述
userid Y
type Y 1我送出额的;2送给我的
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": {
    "gift_list": [
      {
        "other_id": "3",
        "sum": "4",
        "name": "钻戒",
        "url": "Uploads/20180719/5b50025c24d82.jpg",
        "price": "10.00"
      },
      {
        "other_id": "1",
        "sum": "2",
        "name": "玫瑰",
        "url": "Uploads/20180719/5b50025c24d82.jpg",
        "price": "1.00"
      },
      {
        "other_id": "2",
        "sum": "2",
        "name": "双人床",
        "url": "Uploads/20180719/5b50025c24d82.jpg",
        "price": "5.00"
      },
      {
        "other_id": "4",
        "sum": "2",
        "name": "超级跑车",
        "url": "Uploads/20180719/5b50025c24d82.jpg",
        "price": "30.00"
      }
    ],
    "self_user": {
      "id": "4",
      "avatar": "http://122.114.109.31/Uploads/20180719/5b50042b16701.jpg",
      "username": "1111",
      "profit_talk_money": "0.00"
    },
    "top_pai": [
      {
        "belong_id": "5",
        "total": "204",
        "avatar": "http://122.114.109.31/Uploads/123.png",
        "username": "大娃娃",
        "id": "5"
      },
      {
        "belong_id": "10",
        "total": "68",
        "avatar": "http://122.114.109.31/Uploads/20180719/5b50b55c33e9c.jpg",
        "username": "1111",
        "id": "10"
      },
      {
        "belong_id": "4",
        "total": "68",
        "avatar": "http://122.114.109.31/Uploads/20180719/5b50042b16701.jpg",
        "username": "1111",
        "id": "4"
      }
    ]
  }
}
备注
is_vip  0不是VIP;1普通vip;2超级VIP
最后修改者: root  2018-09-22 16:54:19 

查询对方的个人信息

编号  :  10

POST - api.php/user/other_userinfo?args=
请求参数
参数名 必传 描述
other_id Y 对方编号
userid Y 你的编号
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": {
        "id": "179",
        "mobile": "17661563682",
        "password": "YZhoaJaY",
        "username": "haha",
        "birthday": 48,
        "city_id": "460100",
        "chat_type": "情感,健身,明星,电影,",
        "addtime": "2018-09-17 11:59:43",
        "sex": "女",
        "token": "TDG25HcDXreMaC3EtWiheNznpXLg7tNI+bMJ79ue1G6Fx5Xc+HbjfkZCqH1MtEi5dWGQJF9klnIP1vbn0tmaMw==",
        "qq_openid": "",
        "wx_openid": "",
        "state": "2",
        "disable": "0",
        "lat": "",
        "lng": "",
        "selfie": "Uploads/20180922/5ba5eedd4d9f0.jpeg",
        "avatar": "http://47.105.116.167/Uploads/20180917/5b9f26afa18b6.jpg",
        "request_num": "0",
        "voice_marked_price": "0",
        "is_xian": "1",
        "ma": "1537156783215",
        "tape_num": "7",
        "state_time": "2018-09-22 15:29:44",
        "video_marked_price": "0",
        "chat_time": "2018-09-22 15:32:07",
        "ti_addtime": "2018-09-22 15:27:25",
        "boy_request_num": "0",
        "girl_request_num": "0",
        "is_friend": 0,
        "is_black": 0,
        "city_name": "海口市",
        "isvip_type": 0,
        "me_give": [
            "Uploads/2018-09-22/5ba5e11c18372.png",
            "Uploads/2018-09-22/5ba5e188de946.png"
        ],
        "album": [
            "Uploads/20180918/5ba0468f45fde.jpg"
        ],
        "wallet": {
            "id": "47",
            "userid": "180",
            "profit_talk_money": "0.00",
            "total_talk_money": "0.00",
            "buy_talk_money": "0.00",
            "money": "0.00"
        },
        "give_me": [
            "Uploads/2018-09-22/5ba5e103ba570.png",
            "Uploads/2018-09-22/5ba5e157127e4.png",
            "Uploads/2018-09-22/5ba5e1b5bc3f5.png",
            "Uploads/2018-09-22/5ba5e1c68306e.png"
        ],
        "me_give_count": 2,
        "give_me_count": 4
    }
}
备注
is_vip  0不是VIP;1普通vip;2超级VIP
最后修改者: root  2018-07-26 09:18:01 

添加好友

编号  :  10

POST - api.php/user/join_friends?args=
请求参数
参数名 必传 描述
other_id Y
userid Y
返回值
{
  "code": 200,
  "message": "加入好友成功!",
  "datas": []
}
备注
is_vip  0不是VIP;1普通vip;2超级VIP
最后修改者: root  2018-07-26 08:47:09 

排行榜

编号  :  10

POST - api.php/user/ranking_list?args=
请求参数
参数名 必传 描述
type Y 1魅力;2土豪;3邀请’
type_p Y 1日榜;2周榜;3月榜;4总榜
返回值
{
  "code": 200,
  "message": "查询成功!",
  "datas": [
    {
      "username": "大娃娃",
      "avatar": "http://122.114.109.31/Uploads/123.png",
      "id": "5",
      "sex": "女",
      "price": "888888.00",
      "is_vip": "2"
    },
    {
      "username": "1111",
      "avatar": "http://122.114.109.31/Uploads/20180719/5b50b55c33e9c.jpg",
      "id": "10",
      "sex": "女",
      "price": "1.00",
      "is_vip": "1"
    },
    {
      "username": "",
      "avatar": "http://122.114.109.31/",
      "id": "13",
      "sex": "女",
      "price": 0,
      "is_vip": 0
    }
  ]
}
备注
is_vip  0不是VIP;1普通vip;2超级VIP
最后修改者: root  2018-07-25 15:23:11 

提现申请

编号  :  10

POST - api.php/user/withdraw_cash?args=
请求参数
参数名 必传 描述
userid Y
talk_money Y 聊币
返回值
{
  "code": 200,
  "message": "提现申请成功!",
  "datas": []
}
最后修改者: root  2018-10-09 11:18:42 

绑定支付宝

编号  :  10

POST - api.php/user/bind_alipay?args=
请求参数
参数名 必传 描述
userid Y
realname Y 真实姓名
number Y 支付宝号码
mobile Y 手机号
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": []
}
最后修改者: root  2018-07-24 23:44:24 

用户充值,购买vip

编号  :  10

POST - api.php/user/pay_order?args=
请求参数
参数名 必传 描述
userid Y
other_id Y 获取充值金额 的编号和获取vip列表的标号
type Y 5充值;6开通VIP
remark Y 充值;开通几个月的普通vip;或开通几个月的超级Vip
num N vip几个月
price Y 花费金额
payment Y 1支付宝;2微信
buy_talk_money N 充值购买的聊币数量
返回值
{
  "code": 200,
  "message": "获取成功",
  "datas": "app_id=2018051560109637&biz_content=%7B%22body%22%3A%22111111111111%22%2C%22subject%22%3A+%22111111111111%22%2C%22out_trade_no%22%3A+%222018072426935%22%2C%22timeout_express%22%3A+%2230m%22%2C%22total_amount%22%3A+%2234.00%22%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2F47.104.91.22222%2Fapi.php%2FAlipay%2Fnotify&sign_type=RSA2&timestamp=2018-07-24+23%3A43%3A42&version=1.0&sign=Vy3qXP6HjqnUk3A8Ib7VPfwDLN0FlrrAyFZ1FYNB7hHBPB2ROmBpFmSfwPtD%2BMEVoGxDbc25Vdu73sBVkFbYe3iQfrD9zxUnp4e1gF0nd3BZ6b07YycSdcodIW8zRKn7sNmcwkArCpOsWrff1Alsm8MgrTeaQkLccSb%2BdiBfXHq9q7sNG1CWgQoGmPh7%2BH3x51ymEcHpUKa3rYz4OoYOq8mFsUiiO8%2Bk9eYFe8Lqu1pT3dyn30047gVjaZyTxX4DZSk7ey9oqeKyDwJX4z4jwU7BYKsGkgvKhqFpZFGI4I%2FP0e73V99rKOnpNve7aSZWh%2FgCat6mn7M6uIJT%2FRbkfg%3D%3D"
}


{
  "code": 200,
  "message": "获取成功",
  "datas": {
    "appid": "wx31e5309aa0320ca0",
    "noncestr": "f7e697c644741c6a16c5875ba105bbd2",
    "package": "Sign=WXPay",
    "partnerid": "1505127271",
    "prepayid": "wx242343257932000b057486932060409392",
    "timestamp": 1532447004,
    "sign": "33AD25E558E9D289CC3B2DD0B0710551"
  }
}
最后修改者: root  2018-09-21 17:07:49 

送礼物

编号  :  10

POST - api.php/user/give_gift?args=
请求参数
参数名 必传 描述
userid Y
other_id Y 礼物编号
belong_id Y 送给的用户编号
num Y 数量
price Y 价格总
返回值
{
  "code": 200,
  "message": "购买成功",
  "datas": []
}
最后修改者: root  2018-07-24 14:34:07 

文字,视频聊天

编号  :  10

POST - api.php/user/time_long?args=
语音视频开始先调用该函数,间隔一分钟,如果余额不足停掉计时,余额充足继续计时
请求参数
参数名 必传 描述
addtime N 开始时间 2018-08-14 16:34:45(24小时制)第一次穿开始时间,
time_long Y 间隔时长,秒数,把每分钟的轮询接口的时长秒数加起来给我第一次是0
userid Y
orderid Y 第一次0,以后传返回值的id
belong_id Y 对方用户编号
type Y 1语音2视频
返回值
{
  "code": 200,
  "message": "更新成功",
  "datas": {
    "id": "29",
    "userid": "4",
    "type": "2",
    "other_id": "0",
    "belong_id": "5",
    "remark": "视频聊天消费聊币",
    "payment": "3",
    "zhen_price": "0.00",
    "talk_money": "152",
    "addtime": "2018-05-06 12:34:34",
    "start_time": "2018-5-6 12:34:34",
    "end_time": "2018-05-06 12:42:04",
    "zhi_tiao": "0",
    "miao": "450",
    "fen": "8"
  }
}
最后修改者: root  2018-09-07 17:12:20 

获取充值价格

编号  :  10

POST - api.php/user/get_recharge?args=
请求参数
参数名 必传 描述
type Y 1,普通vip,2超级VIP
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": [
        {
            "id": "1",
            "money": "12",
            "talk_money": "120",
            "tape_num": "0",
            "addtime": "2018-07-21 18:04:14",
            "song_money": ""
        },
        {
            "id": "2",
            "money": "50",
            "talk_money": "500",
            "tape_num": "6",
            "addtime": null,
            "song_money": ""
        }
    ]
}
最后修改者: root  2018-07-21 18:06:31 

获取vip价格

编号  :  10

POST - api.php/user/vip_price?args=
请求参数
参数名 必传 描述
type Y 1,普通vip,2超级VIP
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "id": "16",
      "type": "1",
      "name": "1个月会员",
      "price": "21",
      "days": "30",
      "zhe": "0",
      "zui_price": 21
    },
    {
      "id": "17",
      "type": "1",
      "name": "3个月会员",
      "price": "145",
      "days": "60",
      "zhe": "80",
      "zui_price": 65
    },
    {
      "id": "18",
      "type": "1",
      "name": "6个月会员",
      "price": "231",
      "days": "180",
      "zhe": "80",
      "zui_price": 151
    },
    {
      "id": "19",
      "type": "1",
      "name": "12个月会员",
      "price": "301",
      "days": "360",
      "zhe": "80",
      "zui_price": 221
    },
    {
      "id": "20",
      "type": "2",
      "name": "永久超级VIP",
      "price": "1000",
      "days": "350000",
      "zhe": "0",
      "zui_price": 1000
    },
    {
      "id": "21",
      "type": "2",
      "name": "1年超级VIP",
      "price": "6661",
      "days": "360",
      "zhe": "0",
      "zui_price": 6661
    }
  ]
}
最后修改者: root  2018-07-21 17:51:09 

获取礼物价格

编号  :  10

POST - api.php/user/gift?args=
请求参数
参数名 必传 描述
userid Y
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "id": "1",
      "name": "玫瑰",
      "price": "1.00",
      "addtime": "2017-11-22 09:36:26",
      "url": null,
      "sort": "1"
    },
    {
      "id": "2",
      "name": "双人床",
      "price": "5.00",
      "addtime": "2017-11-22 09:38:36",
      "url": null,
      "sort": "1"
    },
    {
      "id": "3",
      "name": "钻戒",
      "price": "10.00",
      "addtime": "2017-11-22 09:38:40",
      "url": null,
      "sort": "1"
    },
    {
      "id": "4",
      "name": "超级跑车",
      "price": "30.00",
      "addtime": "2017-11-22 09:38:43",
      "url": null,
      "sort": "1"
    },
    {
      "id": "5",
      "name": "游艇",
      "price": "50.00",
      "addtime": "2017-11-22 09:38:47",
      "url": null,
      "sort": "1"
    },
    {
      "id": "6",
      "name": "别墅",
      "price": "100.00",
      "addtime": "2017-11-22 09:38:50",
      "url": null,
      "sort": "1"
    }
  ]
}
最后修改者: root  2018-07-24 08:29:46 

发送文字

编号  :  10

POST - api.php/user/text_chat?args=
请求参数
参数名 必传 描述
userid Y 自己的编号
belong_id Y 对方的编号
返回值
{
  "code": 200,
  "message": "发送成功",
  "datas": {
    "strips_zhi": 1,
    "price": 0
  }
}
最后修改者: root  2018-07-20 00:39:31 

删除相册图片

编号  :  10

POST - api.php/user/del_album?args=
请求参数
参数名 必传 描述
id Y 相册编号
返回值
{
  "code": 200,
  "message": "删除成功",
  "datas": []
}
最后修改者: root  2018-09-18 16:33:12 

主播提交认证资料

编号  :  10

POST - api.php/user/anchor_submit?args=
请求参数
参数名 必传 描述
userid Y
title N 身份不符,名字不好
selfie N 自拍
photo_img N 个人照片(多图撒上传接口)
返回值
{
  "code": 200,
  "message": "提交成功",
  "datas": []
}
最后修改者: root  2018-07-19 23:39:49 

举报

编号  :  10

POST - api.php/user/report?args=
请求参数
参数名 必传 描述
userid Y
title Y 身份不符,名字不好
otherid Y 举报对象
返回值
{
  "code": 200,
  "message": "举报成功",
  "datas": []
}
最后修改者: root  2018-07-19 23:30:20 

获取黑名单列表

编号  :  10

POST - api.php/user/getBlacklist?args=
请求参数
参数名 必传 描述
userid Y
返回值
{
  "code": 200,
  "message": "获取成功",
  "datas": [
    {
      "id": "2",
      "userid": "10",
      "blackuserid": "13",
      "addtime": "0000-00-00 00:00:00",
      "blackuser": {
        "id": "13",
        "avatar": "/",
        "username": "",
        "sex": "女",
        "age": "2"
      }
    },
    {
      "id": "3",
      "userid": "10",
      "blackuserid": "11",
      "addtime": "0000-00-00 00:00:00",
      "blackuser": {
        "id": "11",
        "avatar": "/Uploads/123.png",
        "username": "大娃娃",
        "sex": "女",
        "age": "0"
      }
    }
  ]
}
最后修改者: root  2018-07-19 23:30:05 

移除黑名单

编号  :  10

POST - api.php/user/del_Blacklist?args=
请求参数
参数名 必传 描述
userid Y
ids Y 加入黑名单的人 单个3.多个4,5,6
返回值
{
  "code": 200,
  "message": "移除黑名单成功",
  "datas": []
}
最后修改者: root  2018-07-19 23:05:55 

加入黑名单

编号  :  10

POST - api.php/user/setBlacklist?args=
请求参数
参数名 必传 描述
userid Y
ids Y 加入黑名单的人 单个3.多个4,5,6
返回值
{
  "code": 200,
  "message": "添加黑名单成功",
  "datas": []
}
最后修改者: root  2018-07-19 23:29:47 

群打招呼

编号  :  10

POST - api.php/user/say_hello?args=
请求参数
参数名 必传 描述
title Y
userid Y
返回值
{
  "code": 200,
  "message": "发送成功!",
  "datas": []
}
最后修改者: root  2018-07-19 17:46:50 

更新经纬度

编号  :  10

POST - api.php/user/save_lat?args=
请求参数
参数名 必传 描述
userid Y
lat Y
lng Y
返回值
{
  "code": 200,
  "message": "修改成功",
  "datas": []
}
最后修改者: root  2018-07-20 00:18:58 

查询页(男生女生同城)

编号  :  10

POST - api.php/user/search_sex_city?args=
请求参数
参数名 必传 描述
page Y 1开始
size Y
type N 1,男生,2女生;3同城
userid Y
lat Y
lng Y
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": {
    "adv": [
      {
        "id": "16",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "30",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "31",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "32",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "33",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "34",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "35",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "36",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "37",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "38",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      }
    ],
    "list": [
      {
        "id": "11",
        "age": "0",
        "chat_time": "2018-07-19 17:20:26",
        "sex": "女",
        "city_id": "370000",
        "username": "大娃娃",
        "avatar": "/Uploads/123.png",
        "selfie": "",
        "video_marked_price": "0",
        "juli": "12564000",
        "photo_img": [
          "Uploads/20180719/5b50025c24d82.jpg",
          "Uploads/20180719/5b50025c2620e.jpg",
          "Uploads/20180719/5b50025c27158.jpg"
        ],
        "city_name": "山东省",
        "huo_time": "6小时前"
      },
      {
        "id": "13",
        "age": "2",
        "chat_time": "2018-07-19 17:41:48",
        "sex": "女",
        "city_id": "370000",
        "username": "",
        "avatar": "/",
        "selfie": "",
        "video_marked_price": "0",
        "juli": "12564000",
        "photo_img": [],
        "city_name": "山东省",
        "huo_time": "6小时前"
      }
    ]
  }
}
最后修改者: root  2018-07-19 16:34:34 

搜索页

编号  :  10

POST - api.php/user/serach?args=
请求参数
参数名 必传 描述
page Y 1开始
size Y
keywords N 夜聊号或昵称
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "id": "4",
      "age": "0",
      "username": "1111",
      "city_id": "130521",
      "sex": "女",
      "photo_img": "Uploads/20180719/5b50025c24d82.jpg,Uploads/20180719/5b50025c2620e.jpg,Uploads/20180719/5b50025c27158.jpg",
      "selfie": "",
      "video_marked_price": "0",
      "city_name": "邢台县"
    }
  ]
}
最后修改者: root  2018-07-19 16:35:10 

首页数据

编号  :  10

POST - api.php/user/home_night?args=
请求参数
参数名 必传 描述
userid Y
type Y 1活跃 2新人;3附近
page Y 1开始
size Y
lat N
lng N
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": {
    "adv": [
      {
        "id": "16",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "30",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "31",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "32",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "33",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "34",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      },
      {
        "id": "35",
        "beizhu": "任务奖励",
        "url": "https://www.baidu.com/?tn=39042058_29_oem_dg",
        "img": "Uploads/2018-07-07/5b402d186e654.png",
        "addtime": "2018-07-07 11:01:44",
        "type": "1",
        "title": "高高哪个服开的飞快"
      }
    ],
    "list": [
      {
        "id": "5",
        "photo_img": null,
        "selfie": "",
        "video_marked_price": "0",
        "juli": "12564000"
      },
      {
        "id": "10",
        "photo_img": null,
        "selfie": "",
        "video_marked_price": "0",
        "juli": "12564000"
      },
      {
        "id": "11",
        "photo_img": null,
        "selfie": "",
        "video_marked_price": "0",
        "juli": "12564000"
      }
    ]
  }
}
最后修改者: root  2018-10-10 11:00:46 

查询自己的个人信息

编号  :  10

POST - api.php/user/sel_userinfo?args=
请求参数
参数名 必传 描述
userid Y
返回值
{
    "code": 200,
    "message": "查询成功",
    "datas": {
        "id": "194",
        "mobile": "",
        "password": "",
        "username": "Android",
        "birthday": 48,
        "city_id": "510100",
        "chat_type": "道家,佛像,车房,",
        "addtime": "2018-09-29 11:04:54",
        "sex": "女",
        "token": "SU+Krvqe7tz2mZWSmXX0KdznpXLg7tNI+bMJ79ue1G7AWKD1CmSYeLTRbM5moYFUiBOMR7g9C20P1vbn0tmaMw==",
        "qq_openid": "857BE0C7276431B2F93CEBCF0C4C65EA",
        "wx_openid": "",
        "state": "0",
        "disable": "0",
        "lat": "",
        "lng": "",
        "selfie": "Uploads/20180930/5bb06729797d7.jpeg",
        "avatar": "http://thirdqq.qlogo.cn/qqapp/101509330/857BE0C7276431B2F93CEBCF0C4C65EA/100",
        "request_num": "0",
        "voice_marked_price": "50",
        "is_xian": "1",
        "ma": "0294985",
        "tape_num": "18",
        "state_time": "2018-09-30 14:04:12",
        "video_marked_price": "45",
        "chat_time": "2018-10-10 09:58:14",
        "ti_addtime": "2018-09-30 14:03:21",
        "boy_request_num": "0",
        "girl_request_num": "0",
        "is_kong_video": "0",
        "is_kong_voice": "0",
        "city_name": "成都市",
        "isvip_type": 0,
        "album": [
            "Uploads/20180929/5baf3b30811e9.jpg",
            "Uploads/20180930/5bb06ab125911.jpg",
            "Uploads/20180930/5bb06ab125911.jpg"
        ],
        "wallet": {
            "id": "61",
            "userid": "194",
            "profit_talk_money": "83407.50",
            "total_talk_money": "83407.50",
            "buy_talk_money": "0.00",
            "money": "0.00"
        },
        "me_give": [
            "Uploads/2018-09-22/5ba5e103ba570.png",
            "Uploads/2018-09-22/5ba5e11c18372.png",
            "Uploads/2018-09-22/5ba5e135e6358.png",
            "Uploads/2018-09-22/5ba5e149aee55.png",
            "Uploads/2018-09-22/5ba5e157127e4.png",
            "Uploads/2018-09-22/5ba5e16e23a8d.png",
            "Uploads/2018-09-22/5ba5e1a110960.png",
            "Uploads/2018-09-22/5ba5e1c68306e.png"
        ],
        "give_me": [
            "Uploads/2018-09-22/5ba5e157127e4.png"
        ],
        "give_me_count": 1,
        "me_give_count": 8,
        "sign_in": 0,
        "alipay_number": "",
        "is_bind_alipay": 0
    }
}
备注
is_vip  0不是vip 1普通;2超级
  "profit_talk_money": "0.00",  收益
      "total_talk_money": "43817.00",  总的聊币
      "buy_talk_money": "0.00",   购买的聊币
最后修改者: root  2018-07-19 08:42:48 

获取一级地址列表

编号  :  2

POST - api.php/user/address_frist?args=
请求参数
参数名 必传 描述
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "city_id": "110000",
      "name": "北京"
    },
    {
      "city_id": "120000",
      "name": "天津"
    },
    {
      "city_id": "130000",
      "name": "河北省"
    },
    {
      "city_id": "140000",
      "name": "山西省"
    },
    {
      "city_id": "150000",
      "name": "内蒙古自治区"
    },
    {
      "city_id": "210000",
      "name": "辽宁省"
    },
    {
      "city_id": "220000",
      "name": "吉林省"
    },
    {
      "city_id": "230000",
      "name": "黑龙江省"
    },
    {
      "city_id": "310000",
      "name": "上海"
    },
    {
      "city_id": "320000",
      "name": "江苏省"
    },
    {
      "city_id": "330000",
      "name": "浙江省"
    },
    {
      "city_id": "340000",
      "name": "安徽省"
    },
    {
      "city_id": "350000",
      "name": "福建省"
    },
    {
      "city_id": "360000",
      "name": "江西省"
    },
    {
      "city_id": "370000",
      "name": "山东省"
    },
    {
      "city_id": "410000",
      "name": "河南省"
    },
    {
      "city_id": "420000",
      "name": "湖北省"
    },
    {
      "city_id": "430000",
      "name": "湖南省"
    },
    {
      "city_id": "440000",
      "name": "广东省"
    },
    {
      "city_id": "450000",
      "name": "广西壮族自治区"
    },
    {
      "city_id": "460000",
      "name": "海南省"
    },
    {
      "city_id": "500000",
      "name": "重庆"
    },
    {
      "city_id": "510000",
      "name": "四川省"
    },
    {
      "city_id": "520000",
      "name": "贵州省"
    },
    {
      "city_id": "530000",
      "name": "云南省"
    },
    {
      "city_id": "540000",
      "name": "西藏自治区"
    },
    {
      "city_id": "610000",
      "name": "陕西省"
    },
    {
      "city_id": "620000",
      "name": "甘肃省"
    },
    {
      "city_id": "630000",
      "name": "青海省"
    },
    {
      "city_id": "640000",
      "name": "宁夏回族自治区"
    },
    {
      "city_id": "650000",
      "name": "新疆维吾尔自治区"
    },
    {
      "city_id": "710000",
      "name": "台湾"
    },
    {
      "city_id": "810000",
      "name": "香港特别行政区"
    },
    {
      "city_id": "820000",
      "name": "澳门特别行政区"
    },
    {
      "city_id": "900000",
      "name": "钓鱼岛"
    }
  ]
}
最后修改者: root  2018-07-19 08:44:41 

获取下级城市列表

编号  :  3

POST - api.php/user/address_level?args=
请求参数
参数名 必传 描述
city_id Y 如 370000
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    {
      "city_id": "370100",
      "name": "济南市"
    },
    {
      "city_id": "370200",
      "name": "青岛市"
    },
    {
      "city_id": "370300",
      "name": "淄博市"
    },
    {
      "city_id": "370400",
      "name": "枣庄市"
    },
    {
      "city_id": "370500",
      "name": "东营市"
    },
    {
      "city_id": "370600",
      "name": "烟台市"
    },
    {
      "city_id": "370700",
      "name": "潍坊市"
    },
    {
      "city_id": "370800",
      "name": "济宁市"
    },
    {
      "city_id": "370900",
      "name": "泰安市"
    },
    {
      "city_id": "371000",
      "name": "威海市"
    },
    {
      "city_id": "371100",
      "name": "日照市"
    },
    {
      "city_id": "371200",
      "name": "莱芜市"
    },
    {
      "city_id": "371300",
      "name": "临沂市"
    },
    {
      "city_id": "371400",
      "name": "德州市"
    },
    {
      "city_id": "371500",
      "name": "聊城市"
    },
    {
      "city_id": "371600",
      "name": "滨州市"
    },
    {
      "city_id": "371700",
      "name": "菏泽市"
    }
  ]
}
最后修改者: root  2018-08-03 08:01:52 

登录(第三方登录和手机号登录)

编号  :  4

POST - api.php/user/login?args=
登录(第三方登录和手机号登录)
请求参数
参数名 必传 描述
type Y 1微信;2QQ,3手机号
mobile N 类型为3必传,其他不穿
username N 微信或qq用户名 1和2比传
avatar N 微信或qq头头像 1和2比传
openid N 微信或qq凭证 1和2比传
birthday N 生日(第三方登录第一次比传,第二次不穿)
sex N 性别(第三方登录第一次比传,第二次不穿)
city_id N 城市编号(第三方登录第一次比传,第二次不穿)
ma N 邀请码
password N 类型为3必传,其他不穿
返回值
{
  "code": 400,
  "message": "账号密码错误",
  "datas": {}
}


{
  "code": 200,
  "message": "登录成功",
  "datas": {
    "id": "5",
    "mobile": "12345123",
    "password": "YZdmZZI=",
    "username": "大娃娃",
    "birthday": "2018-3-4",
    "city_id": "22",
    "chat_type": "",
    "photo_img": null,
    "addtime": "2018-07-19 08:40:01",
    "sex": "男",
    "token": "eDVHDblhizvxzwZSzGXI+F3NGDbMjItIxK6oY+OMuVQ8QOfNZbeGtDgdPBcsygISOtIHZkZwcbIVEj6dotoYZA==",
    "qq_openid": "",
    "wx_openid": "",
    "state": "1",
    "disable": "0",
    "lat": "",
    "lng": "",
    "selfie": "",
    "avatar": "Uploads/123.png",
    "request_num": "0",
    "marked_price": "0",
    "is_xian": "1",
    "ma": "1531960801604",
    "tape_nun": "7"
  }
}
最后修改者: root  2018-07-19 09:56:26 

获取融云token

编号  :  5

POST - api.php/user/get_token?args=
登录(第三方登录和手机号登录)
请求参数
参数名 必传 描述
userid Y
返回值
{
  "code": 200,
  "message": "获取成功",
  "datas": {
    "userid": "4",
    "token": "LEXHaGoeMmhIJnrLwODxoaQvz/RontpC6BOQO230J+9ynXkuEvXsGbrTGX0628IloRxsbOs8gE4="
  }
}
最后修改者: root  2018-07-19 09:57:41 

忘记密码

编号  :  6

POST - api.php/user/forget_pwd?args=
忘记密码
请求参数
参数名 必传 描述
mobile N
password N
返回值
{
  "code": 200,
  "message": "修改成功!",
  "datas": []
}
最后修改者: root  2018-07-19 11:28:31 

编辑用户资料

编号  :  7

POST - api.php/user/save_userinfo?args=
请求参数
参数名 必传 描述
birthday Y 生日 2018--5-20
city_id Y 城市编号
username Y 昵称
avatar N 不穿,默认
photo_img Y 多图片的上传返回的参数
chat_type Y 话题 如情感,健身,明星,电影,星座,恋爱,婚恋,诗词,文学,段子,审美
userid Y
返回值
{
  "code": 200,
  "message": "修改成功!",
  "datas": []
}
最后修改者: root  2018-07-19 10:24:19 

获取聊天话题标签

编号  :  8

POST - api.php/user/sel_chat_topic?args=
请求参数
参数名 必传 描述
返回值
{
  "code": 200,
  "message": "查询成功",
  "datas": [
    "情感",
    "健身",
    "明星",
    "电影",
    "星座",
    "恋爱",
    "婚恋",
    "诗词",
    "文学",
    "段子",
    "审美",
    "理想",
    "车房",
    "科技",
    "八卦",
    "风水",
    "佛像",
    "道家",
    "理想",
    "解放军地方",
    "放假放假",
    "附近的减肥",
    "附近的房间看",
    "减肥的减肥",
    "积分多架飞机"
  ]
}
最后修改者: root  2018-07-19 11:15:50 

多文件上传

编号  :  9

POST - api.php/user/uploads_many?args=
传值随便穿,img1,img2,.img3,img4,img5,img6,vimg7
请求参数
参数名 必传 描述
返回值
{
  "code": 200,
  "message": "上传成功",
  "datas": "Uploads/20180719/5b50025c24d82.jpg,Uploads/20180719/5b50025c2620e.jpg,Uploads/20180719/5b50025c27158.jpg"
}