好友聊天记录

# 好友聊天记录 ### 请求地址 ``` http://site.wan911.com/api/chat/ ``` ### 请求参数 | 参数名 | 类型 | 说明 | 是否必填 | |--------|-----|------|---------| | active_class | string | 固定值:ChatFriendPage | 是 | | active_method | string | 固定值:FriendRecords | 是 | | token | string | 令牌 | 是 | | uid | int | 当前登录人uid | 是 | | xy_friend_uid | int | 好友uid | 是 | | xy_friend_id | int | 好友关系id | 是 | | pageIndex | int | 页码 | 是,默认1 | | pageSize | int | 条数 | 否,默认20条 | ### 返回值 ``` json { "IsSuccess":true, "Message":"成功", "ClientData":[ { "xy_rid":100,//消息id "xy_uid":100,//用户编号,系统消息时用户编号为0 "xy_uname":"xxx",//用户账号 "xy_nickname":"xxx",//昵称 "xy_userface":"xxx",//头像 "xy_content":"", //内容 "created_time":"yyyy-MM-dd HH:mm:ss",//消息发送的时间 "xy_type":1 // 1正常消息 2 系统消息-删除好友 }], "Total":0 } ```