# Three **Repository Path**: shanchuanc/Three ## Basic Information - **Project Name**: Three - **Description**: 三人行 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2016-11-03 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 三人 ### 登陆/注册: ``` 1、注册登录 Register UP 1、mobile 2、password 3、code 4、userName 5、avatar Login UP 1、mobile 2、password Reset UP 1、mobile 2、code(短信验证码) 3、newPwd(新密码) Register/Login DOWN 1、userID 2、token 3、certificate(根据密码和mobile生成的用户凭证,用于获取token) ``` ## 1.发现活动 ### 三个轮换广告: ``` { id, img_url, content_url, } id 服务器区别 ``` ### List列表: ``` { act_id (数据库主键), act_img_url, act_name,// 活动名 act_time,// 时间 act_brief,// 简介 act_person_count,// 人数 } ``` ## 2.TimeLine ### GET List: ``` { item_personal_img_url, // 头像 item_title,// 标题 item_send_time, // 发布时间 item_img_url,// 图片 // 目前一张,以后扩展为img_url:{} item_comment_url,// 拉取评论列表的URL item_has_prise,// 点过赞? } ``` ### Item:// 子页面 #### Get Item: ``` { item_poster:{// 发送者 item_personal_img_url, // 头像 } item_title,// 标题 item_content,// 文字内容 item_send_time, // 发布时间 item_img_url,// 图片 // 目前一张,以后扩展为img_url:{} item_has_prise,// 点过赞? item_comment_list:{ comment_p_img_url,// 头像 comment_p_name,// 名字 comment_content,// 内容 comment_other_content// 是否是对其他人的评论,如果有带缩略文本,没有缺省 } } ``` #### Post Item: ``` { item_poster,// 发送者 item_title, item_img_url, item_content } ``` #### Post Comment: ``` { item_poster, item_comment_content,// 内容 item_comment_other_content,// 被评论的缩略文本 (如果直接链接到comment就不用) item_be_commented_man,// 被评论的人 服务端通过这个请求透传推送 } ``` ## 3.通知和聊天: ### 通知:推送 ### GROUP_TALK:推送 ``` // 聊天item { talk_item_poster,// 发送 talk_item_content// 内容 } ``` ## 4.我的 ``` UserInfo UP 1、userID 2、token UserInfo DOWN 1、userName(我的昵称) 2、avatar(我的头像URL) 3、sex(我的性别) 4、sign(我的个性签名) 5、experence(我的发起的活动、参加的活动) ```