取消提醒点赞(020)
编号 : 020
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| remind_id | int | Y | 需要取消点赞的提醒id' | |
| u | string | Y | 用户信息校验位 | |
| token | string | Y | 用户登入校验位 |
返回值
{
"success":true,
"status":100,
"msg":"用户删除点赞成功",
"data":null
}
备注
@property (nonatomic, copy) NSString *success; //返回状态 @property (nonatomic, assign) NSInteger status;//放回状态码 @property (nonatomic, copy) NSString *data;//返回数据集 @property (nonatomic, copy) NSString *msg;//放回提示消息
获取点赞列表(019)
编号 : 019
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| remind_id | int | Y | 提醒id | |
| u | string | Y | 用户校验位 | |
| token | string | Y | 用户登入校验位 |
返回值
{
"success":true,
"status":100,
"msg":"获取点赞信息成功",
"data":{
"like_list":[
{
"lid":15,
"uid":1,
"like_remind_id":62222,
"user_name":"18650494479",
"user_remind_id":"212500",
"mobile":18650494479
}
],
"has_like_remind":1
}
}
备注
@property (nonatomic, assign) BOOL success; @property (nonatomic, assign) NSInteger status; @property (nonatomic, strong) Data *data; @property (nonatomic, copy) NSString *msg; @class Data,Like_List; @interface Data : NSObject @property (nonatomic, assign) NSInteger has_like_remind; @property (nonatomic, strong) NSArray<Like_List *> *like_list; @end @interface Like_List : NSObject @property (nonatomic, assign) NSInteger lid;//点赞id @property (nonatomic, copy) NSString *user_remind_id;//点赞用户提醒id @property (nonatomic, assign) NSInteger uid;//点赞用户uid @property (nonatomic, assign) NSInteger like_remind_id;//被点赞提醒id @property (nonatomic, assign) long long mobile;//被点赞提醒手机号 @property (nonatomic, copy) NSString *user_name;//点赞用户名 @end
添加提醒点赞(018)
编号 : 018
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| remind_id | int | Y | 需要点赞的提醒id | |
| u | string | Y | 用户信息校验位 | |
| token | string | Y | 用户登入校验位 |
返回值
{
"success":true,
"status":100,
"msg":"用户点赞成功",
"data":null
}
备注
@property (nonatomic, copy) NSString *success; //返回状态 @property (nonatomic, assign) NSInteger status;//放回状态码 @property (nonatomic, copy) NSString *data;//返回数据集 @property (nonatomic, copy) NSString *msg;//放回提示消息
生日群介绍获取banner(017)
编号 : 017
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"success":true,
"status":100,
"msg":"获取banner成功",
"data":{
"id":"45",
"title":"qwe",
"target_url":"qweq",
"sort":"999999",
"image_url":"http://app.liwusj.com/upload/banner/20170829171346.jpg",
"time":"2017-08-29 17:13:46",
"click_num":"0",
"isshow":"0",
"target_id":"0",
"target_type":"6",
"show_place":"3",
"device":"1",
"version":""
}
}
备注
@property (nonatomic, assign) BOOL success;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, strong) Data *data;
@property (nonatomic, copy) NSString *msg;
@class Data;
@interface Data : NSObject
@property (nonatomic, copy) NSString *id;
@property (nonatomic, copy) NSString *device;//设备
@property (nonatomic, copy) NSString *version;//指定版本显示
@property (nonatomic, copy) NSString *click_num;//点击次数
@property (nonatomic, copy) NSString *image_url;//图片地址
@property (nonatomic, copy) NSString *time;//时间
@property (nonatomic, copy) NSString *title;//标题
@property (nonatomic, copy) NSString *target_id;
@property (nonatomic, copy) NSString *target_type;
@property (nonatomic, copy) NSString *isshow;
@property (nonatomic, copy) NSString *sort;
@property (nonatomic, copy) NSString *target_url;
@property (nonatomic, copy) NSString *show_place;
@end
json示例
{"success":true,"status":100,"msg":"u83b7u53d6banneru6210u529f","data":{"id":"45","title":"qwe","target_url":"qweq","sort":"999999","image_url":"http://app.liwusj.com/upload/banner/20170829171346.jpg","time":"2017-08-29 17:13:46","click_num":"0","isshow":"0","target_id":"0","target_type":"6","show_place":"3","device":"1","version":""}}
生日群界面获取banner列表(016)
编号 : 016
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| token | string | Y | 教研用户登入 | |
| u | string | Y | 用户数据校验 |
返回值
{
"success":true,
"status":100,
"msg":"获取banner成功",
"data":{
"id":"43",
"title":"dasfa",
"target_url":"adf",
"sort":"999999",
"image_url":"http://app.liwusj.com/upload/banner/20170822163653.jpg",
"time":"2017-08-22 16:36:53",
"click_num":"0",
"isshow":"1",
"target_id":"0",
"target_type":"3",
"show_place":"1",
"device":"1",
"version":""
}
}
备注
@property (nonatomic, assign) BOOL success;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, strong) Data *data;
@property (nonatomic, copy) NSString *msg;
@class Data;
@interface Data : NSObject
@property (nonatomic, copy) NSString *id;
@property (nonatomic, copy) NSString *device;//设备
@property (nonatomic, copy) NSString *version;//指定版本显示
@property (nonatomic, copy) NSString *click_num;//点击次数
@property (nonatomic, copy) NSString *image_url;//图片地址
@property (nonatomic, copy) NSString *time;//时间
@property (nonatomic, copy) NSString *title;//标题
@property (nonatomic, copy) NSString *target_id;
@property (nonatomic, copy) NSString *target_type;
@property (nonatomic, copy) NSString *isshow;
@property (nonatomic, copy) NSString *sort;
@property (nonatomic, copy) NSString *target_url;
@property (nonatomic, copy) NSString *show_place;
@end
json示例:
{"success":true,"status":100,"msg":"u83b7u53d6banneru6210u529f","data":[{"id":"70","title":"u8003u62c9","target_url":"https://www.bilibili.com/video/av7940581/","sort":"999999","image_url":"http://test.app.liwusj.com/upload/banner/20170822172449.jpg","time":"2017-08-22 17:25:14","click_num":"0","isshow":"1","target_id":"0","target_type":"6","show_place":"3","device":"1","version":""}]}
获取生日群用户列表(015)
编号 : 015
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| token | string | Y | 用户登入校验 | |
| u | string | Y | 用户信息校验 | |
| group_id | int | Y | 生日群id' |
返回值
{
"success":true,
"status":100,
"msg":"获取生日群成员信息成功",
"data":{
"list":[
{
"id":"212500",
"uid":"1",
"device_id":"",
"recipient":"修改名字",
"role":"0",
"scenes":"3",
"remind_solar_date":"2018-08-07",
"remind_lunar_date":"二零一八年六月廿六",
"date_type":"1",
"remind_rate":"1,4",
"remind_type":"1",
"mobile":"18650494479",
"is_every_year":"1",
"is_ignore_year":"2",
"add_time":"2017-08-02 15:11:23",
"background":"#89c9aa",
"version":"1",
"local_remind_id":"0",
"wechat_remind":"1",
"mobile_remind":"0",
"mobile_remind_num":"0",
"max_rate_num":"0",
"send_time":"0",
"head_path":"",
"check_head_path":"",
"head_check_status":"0",
"head_check_time":"0000-00-00 00:00:00",
"update_time":"2017-08-07 10:08:39",
"is_mobile_verify":"1",
"parent_group_id":1,
"name":"修改名字",
"is_creator":1,
"is_oneself":0,
"age":0,
"role_title":"",
"sex":1,
"scenes_title":"",
"brief":"12岁",
"oneself_birthday":0,
"constellation":"狮子座",
"detail_brief":"12岁公历",
"edit_solar_date":"2006-8-7",
"animal_zodia":"狗",
"how_years":12,
"is_fate":1,
"is_leap":0,
"after_days":363,
"time_interval":4,
"week":"星期二",
"avatar_url":"",
"background_url":"",
"gift_suggest":"",
"remind_solar_date_stamp":1533571200,
"remind_type_sort":1,
"message_id":0
}
]
}
}
备注
@property (nonatomic, assign) BOOL success;//返回状态
@property (nonatomic, assign) NSInteger status;//返回状态码
@property (nonatomic, strong) Data *data;//返回数据集
@property (nonatomic, copy) NSString *msg;//返回提示消息
@class Data,List;
@interface Data : NSObject
@property (nonatomic, strong) NSArray<List *> *list;//返回用户列表集
@end
@interface List : NSObject
@property (nonatomic, copy) NSString *is_mobile_verify;//手机是否认证1:认证0未认证
@property (nonatomic, assign) NSInteger after_days;
@property (nonatomic, copy) NSString *avatar_url;
@property (nonatomic, copy) NSString *head_path;
@property (nonatomic, assign) NSInteger time_interval;
@property (nonatomic, copy) NSString *id;
@property (nonatomic, copy) NSString *scenes_title;
@property (nonatomic, assign) NSInteger sex;
@property (nonatomic, copy) NSString *background_url;
@property (nonatomic, copy) NSString *max_rate_num;
@property (nonatomic, copy) NSString *wechat_remind;
@property (nonatomic, copy) NSString *remind_solar_date;
@property (nonatomic, copy) NSString *send_time;
@property (nonatomic, assign) NSInteger parent_group_id;
@property (nonatomic, copy) NSString *remind_lunar_date;
@property (nonatomic, copy) NSString *background;
@property (nonatomic, copy) NSString *device_id;
@property (nonatomic, assign) NSInteger is_fate;
@property (nonatomic, copy) NSString *detail_brief;
@property (nonatomic, assign) NSInteger remind_type_sort;
@property (nonatomic, copy) NSString *update_time;
@property (nonatomic, copy) NSString *role;
@property (nonatomic, copy) NSString *week;
@property (nonatomic, copy) NSString *animal_zodia;
@property (nonatomic, copy) NSString *date_type;
@property (nonatomic, assign) NSInteger oneself_birthday;
@property (nonatomic, copy) NSString *add_time;
@property (nonatomic, copy) NSString *remind_type;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *brief;
@property (nonatomic, copy) NSString *scenes;
@property (nonatomic, copy) NSString *local_remind_id;//本地提醒id
@property (nonatomic, copy) NSString *head_check_time;//头像确认时间
@property (nonatomic, assign) NSInteger age; //年龄
@property (nonatomic, assign) NSInteger remind_solar_date_stamp;
@property (nonatomic, assign) NSInteger how_years;
@property (nonatomic, copy) NSString *edit_solar_date;
@property (nonatomic, assign) NSInteger is_leap;//是否闰月 1:是 0:否
@property (nonatomic, copy) NSString *uid; //用户uid
@property (nonatomic, copy) NSString *head_check_status;
@property (nonatomic, assign) NSInteger message_id;
@property (nonatomic, copy) NSString *version;
@property (nonatomic, copy) NSString *role_title;
@property (nonatomic, copy) NSString *mobile_remind;
@property (nonatomic, assign) NSInteger is_oneself;
@property (nonatomic, assign) NSInteger is_creator;
@property (nonatomic, copy) NSString *is_every_year;
@property (nonatomic, copy) NSString *check_head_path;
@property (nonatomic, copy) NSString *mobile;
@property (nonatomic, copy) NSString *is_ignore_year;
@property (nonatomic, copy) NSString *mobile_remind_num;
@property (nonatomic, copy) NSString *gift_suggest;
@property (nonatomic, copy) NSString *constellation;
@property (nonatomic, copy) NSString *remind_rate;
@property (nonatomic, copy) NSString *recipient;
@end
json示例:
{"success":true,"status":100,"msg":"u83b7u53d6u751fu65e5u7fa4u6210u5458u4fe1u606fu6210u529f","data":{"list":[{"id":"212500","uid":"1","device_id":"","recipient":"u4feeu6539u540du5b57","role":"0","scenes":"3","remind_solar_date":"2018-08-07","remind_lunar_date":"u4e8cu96f6u4e00u516bu5e74u516du6708u5effu516d","date_type":"1","remind_rate":"1,4","remind_type":"1","mobile":"18650494479","is_every_year":"1","is_ignore_year":"2","add_time":"2017-08-02 15:11:23","background":"#89c9aa","version":"1","local_remind_id":"0","wechat_remind":"1","mobile_remind":"0","mobile_remind_num":"0","max_rate_num":"0","send_time":"0","head_path":"","check_head_path":"","head_check_status":"0","head_check_time":"0000-00-00 00:00:00","update_time":"2017-08-07 10:08:39","is_mobile_verify":"1","parent_group_id":1,"name":"u4feeu6539u540du5b57","is_creator":1,"is_oneself":0,"age":0,"role_title":"","sex":1,"scenes_title":"","brief":"12u5c81","oneself_birthday":0,"constellation":"u72eeu5b50u5ea7","detail_brief":"12u5c81u516cu5386","edit_solar_date":"2006-8-7","animal_zodia":"u72d7","how_years":12,"is_fate":1,"is_leap":0,"after_days":363,"time_interval":4,"week":"u661fu671fu4e8c","avatar_url":"","background_url":"","gift_suggest":"","remind_solar_date_stamp":1533571200,"remind_type_sort":1,"message_id":0}]}}
获取用户所有相关信息(014)
编号 : 014
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| token | string | Y | 用户教研位 | |
| u | string | Y | 用户信息校验位 | |
| device_id | string | N | 用户设备号 |
返回值
{
"success":true,
"status":100,
"msg":"",
"data":{
"mobile":"186***478",
"mobile_detail":"18650494478",
"user_source":"1",
"name":"186***478",
"alipay":"",
"is_set_pwd":1,
"uid":"1",
"cent_total":"",
"cent_available":"",
"edited_alipay":0,
"score_total":"",
"score_available":"",
"has_invitation_code":1
}
}
备注
@property (nonatomic, assign) BOOL success; //返回状态
@property (nonatomic, assign) NSInteger status;//返回状态码
@property (nonatomic, strong) Data *data; //返回数据集
@property (nonatomic, copy) NSString *msg; //消息提示
@class Data;
@interface Data : NSObject
@property (nonatomic, assign) NSInteger is_set_pwd;
@property (nonatomic, copy) NSString *score_available;
@property (nonatomic, assign) NSInteger has_invitation_code; //是否已添加邀请码(或用户是否注册超过24小时)1:已填写邀请码 0:未填写邀请码
@property (nonatomic, copy) NSString *uid; //用户uid
@property (nonatomic, assign) NSInteger edited_alipay;
@property (nonatomic, copy) NSString *mobile; //用户手机号
@property (nonatomic, copy) NSString *cent_available;
@property (nonatomic, copy) NSString *score_total;
@property (nonatomic, copy) NSString *alipay;
@property (nonatomic, copy) NSString *user_source;
@property (nonatomic, copy) NSString *cent_total;
@property (nonatomic, copy) NSString *name; //用户名
@property (nonatomic, copy) NSString *mobile_detail; //用户手机号(不包含*)
@end
json示例
{"success":true,"status":100,"msg":"","data":{"mobile":"186***478","mobile_detail":"18650494478","user_source":"1","name":"186***478","alipay":"","is_set_pwd":1,"uid":"1","cent_total":"","cent_available":"","edited_alipay":0,"score_total":"","score_available":"","has_invitation_code":1}}
编辑生日组名称接口(013)
编号 : 013
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| token | string | Y | 用户登入校验位 | |
| u | string | Y | 用户信息校验位 | |
| group_id | int | Y | 生日群ID | |
| group_name | string | Y | 生日群名称 | |
| is_share | int | N | 生日是否共享(0:不共享1:共享) |
返回值
{
"success":true,
"status":100,
"msg":"编辑生日群名称成功",
"data":null
}
备注
json示例
{"success":true,"status":100,"msg":"u7f16u8f91u751fu65e5u7fa4u540du79f0u6210u529f","data":null}
添加生日组(012)
编号 : 012
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| token | string | Y | 用户登入校验 | |
| u | string | Y | 用户信息校验位置 | |
| group_name | string | Y | 生日群名称 | |
| is_share | int | N | 是否分享(0:不分享1:分享) |
返回值
{
"success":true,
"status":100,
"msg":"添加生日群成功",
"data":"49"
}
备注
data:生日群id
json示例
{"success":true,"status":100,"msg":"u6dfbu52a0u751fu65e5u7fa4u6210u529f","data":"49"}
获取生日群列表(011)
编号 : 011
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| token | string | Y | 用户登入状态校验 | |
| u | string | Y | 用户数据校验位 |
返回值
{
"success":true,
"status":100,
"msg":"获取生日群信息成功",
"data":{
"list":[
{
"is_share":1,
"group_name":"是去看我的",
"group_notice":"",
"add_time":"2017-05-09 11:44:08",
"is_creator":1,
"count":9,
"group_id":"1",
"group_uid":"1",
"has_new_message":1
}
]
}
}
备注
返回数据说明:
group_id: birthday groupid
group_uid: birthday group的创建者用户id
group_name: birthday group名称
group_notice:创建者对组员说的话
count: birthday group成员数量
is_creator:用户是否是创建者,0否,1是
has_new_message: birthday group是否有新留言0:没有新留言 1:有新留言
is_share: birthday group 是否分享0:不分享1:分享
json示例:
{"success":true,"status":100,"msg":"u83b7u53d6u751fu65e5u7fa4u4fe1u606fu6210u529f","data":{"list":[{"is_share":1,"group_name":"u662fu53bbu770bu6211u7684","group_notice":"","add_time":"2017-05-09 11:44:08","is_creator":1,"count":9,"group_id":"1","group_uid":"1","has_new_message":1}]}}
删除生日群留言(010)
编号 : 010
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| u | string | Y | 用户身份校验位 | |
| token | string | Y | 用户登入校验位 | |
| group_id | int | Y | 生日群id | |
| id | int | Y | 留言id |
返回值
{
"success": true,
"status": 100,
"msg": "留言已删除",
"data": {
"rows": [
{
"id": "157",
"group_id": "1",
"uid": "1",
"group_msg_body": "adfa士大",
"group_msg_img": [
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7.jpg"
],
"group_msg_addtime": "2017-07-05 09:26:12",
"verify_state": "1",
"group_msg_img_160X160": [
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_160X160.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_160X160.jpg"
],
"group_msg_img_320X320": [
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_320X320.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_320X320.jpg"
],
"group_msg_img_100X100": [
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_100X100.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_100X100.jpg"
],
"nickname": "IMy",
"sub_name": "y",
"head_path": "",
"background": "#c9ab89",
"addtime": "3小时前",
"is_creator": 1,
"is_self": 1
}
]
}
}
备注
@property (nonatomic, assign) BOOL success;//返回状态
@property (nonatomic, assign) NSInteger status;//返回状态码
@property (nonatomic, strong) Data *data;//返回数据集
@property (nonatomic, copy) NSString *msg;//返回提示语
@end@interface Data : NSObject
@property (nonatomic, strong) NSArray<Rows *> *rows;//返回数据集
@end
@interface Rows : NSObject
@property (nonatomic, copy) NSString *id;//留言ID
@property (nonatomic, copy) NSString *uid;//留言用户ID
@property (nonatomic, strong) NSArray<NSString *> *group_msg_img_320X320;//留言图片集合(320*320)
@property (nonatomic, copy) NSString *group_msg_addtime;//留言添加时间:2017-01-11
@property (nonatomic, copy) NSString *addtime;//留言添加时间提示语(三小时前,三天前。一年前)
@property (nonatomic, strong) NSArray<NSString *> *group_msg_img_100X100;//留言图片集合(100*100)
@property (nonatomic, copy) NSString *head_path;//留言用户头像路径
@property (nonatomic, assign) NSInteger is_creator;//是否创建者
@property (nonatomic, copy) NSString *sub_name;//用户名缩略
@property (nonatomic, copy) NSString *background;//留言用户头像背景色
@property (nonatomic, copy) NSString *group_msg_body;//留言内容
@property (nonatomic, copy) NSString *group_id;//留言生日群id
@property (nonatomic, copy) NSString *verify_state;//留言审核状态(1.审核中2.已审核)
@property (nonatomic, assign) NSInteger is_self;//留言是否本人
@property (nonatomic, strong) NSArray<NSString *> *group_msg_img_160X160;//留言图片集合(160*160)
@property (nonatomic, copy) NSString *nickname;//留言用户名(微信)
@property (nonatomic, strong) NSArray<NSString *> *group_msg_img;//留言图片集合(原图)
json示例:
{"success":true,"status":100,"msg":"u7559u8a00u5df2u5220u9664","data":{"rows":[{"id":"157","group_id":"1","uid":"1","group_msg_body":"adfau58ebu5927u592bud83dudd25 u2728 ud83cudf1f","group_msg_img":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7.jpg"],"group_msg_addtime":"2017-07-05 09:26:12","verify_state":"1","group_msg_img_160X160":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_160X160.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_160X160.jpg"],"group_msg_img_320X320":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_320X320.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_320X320.jpg"],"group_msg_img_100X100":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_100X100.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_100X100.jpg"],"nickname":"IMy","sub_name":"y","head_path":"","background":"#c9ab89","addtime":"3u5c0fu65f6u524d","is_creator":1,"is_self":1}]}}
定时通知用户指定亲友用户即将过生日 获取提醒列表(009)
编号 : 009
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| u | string | Y | 用户教研位 | |
| token | string | Y | 用户登入教研位 |
返回值
{
"success": true,
"status": 1,
"msg": "获取列表",
"data": {
"free_message": 0,
"available_cent": "19014",
"remind_list": [
{
"linkman": "阿达发达",
"remind_rate": "1",
"mobile": "18206086990",
"is_remind": "0",
"remind_time": "2017-12-15 10:00:00"
},
{
"linkman": "阿达发达",
"remind_rate": "3",
"mobile": "18206086990",
"is_remind": "0",
"remind_time": "2017-12-12 10:00:00"
},
{
"linkman": "阿达发达",
"remind_rate": "6",
"mobile": "18206086990",
"is_remind": "0",
"remind_time": "2017-11-15 10:00:00"
},
{
"linkman": "hello",
"remind_rate": "2",
"mobile": "18206086990",
"is_remind": "0",
"remind_time": "2017-12-14 10:00:00"
},
{
"linkman": "阿达发达",
"remind_rate": "2",
"mobile": "18206086996",
"is_remind": "0",
"remind_time": "2017-12-14 10:00:00"
},
{
"linkman": "aaaa",
"remind_rate": "3",
"mobile": "18206086991",
"is_remind": "0",
"remind_time": "2017-12-12 10:00:00"
}
]
}
}
备注
key值 描述 success true成功 false失败 status 返回状态码 msg 返回错误提示语 data 返回数据数组 data.free_message 返回目前用户剩余的免费短信数量 data.available_cent 返回用户目前剩余可用的礼币数量 data.remind_list 返回生日提醒数据 data.remind_list.linkman 亲友、联系人 data.remind_list.remind_rate 该条记录提醒的时间 1当天 2前一天 3前三天 4 前一周 5 前两周 6前一个月 data.remind_list.mobile 电话号码 data.remind_list.is_remind 是否已经提醒 0为未提醒 1为已提醒 data.remind_list.remind_time 提醒时间
定时通知用户指定亲友用户即将过生日 添加联系人列表(008)
编号 : 008
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| u | string | Y | 用户教研位 | |
| token | string | Y | 用户登入教研位 | |
| data.[].name | string | N | 联系人姓名 | |
| data.[].phone | string | N | 联系人电话 |
返回值
返回值 Return :
{
"success": true,
"status": 100,
"msg": "list",
"data": [
{
"name": "黄剑华",
"phone": "18206086990",
"head_path": ""
},
{
"name": "FU",
"phone": "13824263569",
"head_path": ""
}
]
}
备注
success true成功 false失败 status 返回状态码 msg 返回错误提示语 data 返回数据数组 data.[].name 联系人姓名 data.[].phone 联系人电话 data.[].head_path 联系人头像连接
定时通知用户指定亲友用户即将过生日 添加提醒(007)
编号 : 007
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| u | string | Y | 用户教研位 | |
| token | string | Y | 登入教研 | |
| status | int | Y | 状态字 区分是 0 检查是否可以提交数据 1提交数据添加提醒 | |
| remind_data.linkman | string | Y | 联系名称 | |
| remind_data.remind_rate | string | Y | 提醒频率,用","连接成一个字符串,例如"1,2"或“3,6”,其中数字表示1当天 2前一天 3前三天 4 前一周 5 前两周 6前一个月 |
返回值
返回值 Return :
当参数status = 0时:
{
"success": true,
"status": 1,
"msg": "可以添加",
"data": {
"status": 2,
"cent_cost": 10,
"free_cost": 0
}
}
当参数status = 1时:
{
"success": true,
"status": 1,
"msg": "添加成功",
"data": null
}
备注
success true成功 false失败 status 返回状态码 msg 返回错误提示语 data 返回数据数组 data.status 状态 1 只使用免费短信 2为使用了礼币 data.cent_cost 所需消费的礼币数量 data.free_cost 所需消费的免费短信条数 uccess true成功 false失败 status 返回状态码 msg 返回错误提示语 data 返回数据数组
修改生日组头部子标题(006)
编号 : 006
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| notice | string | Y | 生日群子标题内容 | |
| group_id | int | Y | 生日群ID | |
| u | string | Y | 教研用户信息 | |
| token | string | Y | 教研用户信息 |
返回值
{
"success":true,
"status":100,
"msg":"生日群信息修改成功",
"data":{
"id":"1",
"uid":"1",
"group_name":"是去看我的",
"group_notice":"这个是测试添加222",
"add_time":"2017-05-09 11:44:08"
}
}
备注
json示例
{"success":true,"status":100,"msg":"u751fu65e5u7fa4u4fe1u606fu4feeu6539u6210u529f","data":{"id":"1","uid":"1","group_name":"u662fu53bbu770bu6211u7684","group_notice":"u8fd9u4e2au662fu6d4bu8bd5u6dfbu52a0222","add_time":"2017-05-09 11:44:08"}}
添加提醒(005)
编号 : 005
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| status | int | Y | 状态字 区分是 0 检查是否可以提交数据 1提交数据添加提醒 | |
| remind_data | json | Y | 提交数据,json格式 | |
| remind_data.linkman | string | Y | 联系名称 | |
| remind_data.mobile | string | Y | 联系电话 | |
| remind_data.remind_rate | string | Y | 提醒频率,用","连接成一个字符串,例如"1,2"或“3,6”,其中数字表示1当天 2前一天 3前三天 4 前一周 5 前两周 6前一个月 | |
| token | string | Y | ||
| u | string | Y | 教研用户数据 |
返回值
当参数status = 0时:
{
"success": true,
"status": 1,
"msg": "可以添加",
"data": {
"status": 2,
"cent_cost": 10,
"free_cost": 0
}
}
当参数status = 1时:
{
"success": true,
"status": 1,
"msg": "添加成功",
"data": null
}
备注
success true成功 false失败 status 返回状态码 msg 返回错误提示语 data 返回数据数组 data.status 状态 1 只使用免费短信 2为使用了礼币 data.cent_cost 所需消费的礼币数量 data.free_cost 所需消费的免费短信条数 success true成功 false失败 status 返回状态码 msg 返回错误提示语 data 返回数据数组
获取提醒列表(004)
编号 : 004
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| token | string | Y | 校验用户是否登入 | |
| u | string | Y | 检测用户 |
返回值
{
"success": true,
"status": 1,
"msg": "获取列表",
"data": {
"available_cent": "19014",
"remind_list": [
{
"linkman": "阿达发达",
"remind_rate": "1",
"mobile": "18206086990",
"is_remind": "0",
"remind_time": "2017-12-28 09:57:00"
},
{
"linkman": "阿达发达",
"remind_rate": "3",
"mobile": "18206086990",
"is_remind": "0",
"remind_time": "2017-12-25 09:57:00"
},
{
"linkman": "阿达发达",
"remind_rate": "6",
"mobile": "18206086990",
"is_remind": "0",
"remind_time": "2017-11-28 09:57:00"
},
{
"linkman": "hello",
"remind_rate": "2",
"mobile": "18206086990",
"is_remind": "0",
"remind_time": "2017-12-27 09:57:00"
}
]
}
}
备注
success true成功 false失败 status 返回状态码 msg 返回错误提示语 data 返回数据数组 data.available_cent 返回用户目前剩余可用的礼币数量 data.remind_list 返回生日提醒数据 data.remind_list.linkman 亲友、联系人 data.remind_list.remind_rate 该条记录提醒的时间 1当天 2前一天 3前三天 4 前一周 5 前两周 6前一个月 data.remind_list.mobile 电话号码 data.remind_list.is_remind 是否已经提醒 0为未提醒 1为已提醒 data.remind_list.remind_time 提醒时间
获取谁记了我的生日信息(003)
编号 : 003
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| token | string | Y | 校验用户登录是否过期 | |
| u | string | Y | 校验用户uid |
返回值
{
"success": true,
"status": 100,
"msg": "获取谁记了我的生日信息成功",
"data": {
"list": [
{
"uid": "33",
"is_set_birthday": 1,
"sex": "1",
"date_type": 1,
"is_ignore_year": 2,
"birthday_date": "2016-3-6",
"recipient": "34",
"mobile": "",
"head_path": "http://piccdn.1z123.com/324234.jpg",
"remind_type": 1,
"is_every_year": 1,
"scenes": 3,
"role": 0,
"remind_rate": "1,4",
"is_add": 0
""
},
{
"uid": "67",
"is_set_birthday": 0,
"recipient": null,
"mobile": "",
"head_path": "",
"remind_type": 1,
"is_every_year": 1,
"scenes": 3,
"role": 0,
"remind_rate": "1,4",
"is_add": 0
}
],
"count": 2,
"percent": "18%"
"onself_background":"#ffffffff"
}
}
备注
字段list里面的信息: uid:用户ID is_set_birthday:该用户是否设置过生日,1是,0否 sex:性别,1男, -1女(当字段is_set_birthday等于1时才有此字段) date_type:日期类型,1公历,2农历(当字段is_set_birthday等于1时才有此字段) is_ignore_year:是否忽略年份,1是,2否(当字段is_set_birthday等于1时才有此字段) birthday_date:该用户生日,格式:2017-6-3,没有前导0(当字段is_set_birthday等于1时才有此字段) recipient:用户昵称 mobile: 手机号 head_path:头像链接,该字段为空字符串时表示没有头像,显示原有的头像规则 remind_type:提醒类型,1生日,2节日,3纪念日 is_every_year:是否每年都提醒,1是,2否 scenes:场景id role:对象id remind_rate:提醒频率,格式1,2,3,4,5,6,多选,1当天,2提前1天,3提前3天,4,提前1周,5提前2周,6提前1个月 is_add:当前用户是否添加过该手机号的提醒,1是,0否 字段count:几个人记了我的生日 字段percent:超过多少的用户 字段onself_background:自己头像背景颜色
获取生日群留言(001)
编号 : 001
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| u | int | Y | 教研用户uid | |
| token | string | Y | 教研用户登入是否过期 | |
| group_id | int | Y | 生日组id | |
| verify_id | int | N | 用户添加留言id | |
| page | int | N | 留言分页默认(传0默认不分页) | |
| msg_id | int | N | 添加留言后最后一条留言id,用于防止列表重复 | |
| msg_first_id | int | N | 当前留言第一条留言id,用于防止列表重复 |
返回值
{
{
"success":true,
"status":100,
"msg":"返回数据成功",
"data":{
"group_info":{
"id":"1",
"uid":"1",
"group_name":"是去看我的",
"group_notice":"",
"add_time":"2017-05-09 11:44:08",
"group_count":9
},
"rows":[
{
"id":"226",
"group_id":"1",
"uid":"1",
"group_msg_body":"sadas ",
"group_msg_img":[
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7.jpg"
],
"group_msg_addtime":"2017-07-12 16:43:46",
"verify_state":"1",
"group_msg_img_160X160":[
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_160X160.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_160X160.jpg"
],
"group_msg_img_320X320":[
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_320X320.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_320X320.jpg"
],
"group_msg_img_100X100":[
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_100X100.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_100X100.jpg"
],
"nickname":"asd",
"sub_name":"d",
"head_path":"",
"background":"#c9ab89",
"addtime":"18小时前",
"is_creator":1,
"is_self":1,
"group_msg_img_count":2,
"can_del":1
}
],
"total":37,
"nextpage":1
}
}
备注
@property (nonatomic, assign) BOOL success;返回状态
@property (nonatomic, assign) NSInteger status;返回状态码
@property (nonatomic, strong) Data *data;返回数据集合
@property (nonatomic, copy) NSString *msg;返回提示语
@end
@interface Data : NSObject
@property (nonatomic, strong) Group_Info *group_info;生日群详情列表
@property (nonatomic, strong) NSArray<Rows *> *rows;生日群留言列表
@property (nonatomic, assign) NSInteger nextpage ; 就是如果下页没数据nextpage 为0有数据的话nextpage = 当前分页索引
@property (nonatomic, assign) NSInteger total;生日群留言总数
@end
@interface Group_Info : NSObject 生日群详情
@property (nonatomic, copy) NSString *add_time;生日群添加时间
@property (nonatomic, copy) NSString *id;生日群id
@property (nonatomic, copy) NSString *uid;生日群创建者id
@property (nonatomic, copy) NSString *group_name;生日群名
@property (nonatomic, copy) NSString *group_notice;生日群提示语
@property (nonatomic, assign) NSInteger group_count;生日群成员总数
@end
@interface Rows : NSObject生日群留言列表
@property (nonatomic, copy) NSString *group_msg_body;生日群留言文字内容
@property (nonatomic, copy) NSString *uid;留言用户id
@property (nonatomic, copy) NSString *group_id;生日群id
@property (nonatomic, copy) NSString *id;留言信息id
@property (nonatomic, copy) NSString *group_msg_addtime;留言添加时间(具体时间2017-11-12 21::2:21)
@property (nonatomic, copy) NSString *verify_state;审核状态
@property (nonatomic, strong) NSArray *group_msg_img;留言图片集合
@property (nonatomic, strong) NSArray<NSString *> *group_msg_img_100X100;留言图片集合(100X100)
@property (nonatomic, strong) NSArray<NSString *> *group_msg_img_160X160;留言图片集合(160X160)
@property (nonatomic, strong) NSArray<NSString *> *group_msg_img_320X320;留言图片集合(320X320)
@property (nonatomic, copy) NSString *nickname;用户名
@property (nonatomic, assign) NSInteger is_creator :是否创建者(1是0否)
@property (nonatomic, assign) NSInteger is_self:是否本人(1是0否)
@property (nonatomic, copy) NSString *head_path;用户头像地址
@property (nonatomic, copy) NSString *sub_name;(用户名最后一位)
@property (nonatomic, copy) NSString *background;用户头像背景色(用户头像为空时候选择)
@property (nonatomic, copy) NSString *addtime;用户留言时间(刚刚,一小时前,两小时前)
@property (nonatomic, assign) NSInteger group_msg_img_count;图片数量统计
@property (nonatomic, assign) NSInteger can_del;是否允许删除
{"success":true,"status":100,"msg":"u8fd4u56deu6570u636eu6210u529f","data":{"group_info":{"id":"1","uid":"1","group_name":"u662fu53bbu770bu6211u7684","group_notice":"","add_time":"2017-05-09 11:44:08","group_count":9},"rows":[{"id":"226","group_id":"1","uid":"1","group_msg_body":"sadas ","group_msg_img":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7.jpg"],"group_msg_addtime":"2017-07-12 16:43:46","verify_state":"1","group_msg_img_160X160":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_160X160.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_160X160.jpg"],"group_msg_img_320X320":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_320X320.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_320X320.jpg"],"group_msg_img_100X100":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_100X100.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_100X100.jpg"],"nickname":"asd","sub_name":"d","head_path":"","background":"#c9ab89","addtime":"18u5c0fu65f6u524d","is_creator":1,"is_self":1,"group_msg_img_count":2,"can_del":1}],"total":37,"nextpage":1}}
生日群留言添加(002)
编号 : 002
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| group_id | int | Y | 生日群id | |
| group_msg_body | string | Y | 留言内容 | |
| image_1 | file | N | 留言图片1 | |
| image_2 | file | N | 留言图片2 | |
| image_3 | file | N | 留言图片3 | |
| image_4 | file | N | 留言图片4 | |
| image_5 | file | N | 留言图片5 | |
| image_6 | file | N | 留言图片6 | |
| image_7 | file | N | 留言图片7 | |
| image_8 | file | N | 留言图片8 | |
| image_9 | file | N | 留言图片9 | |
| u | string | Y | 教研用户ID | |
| token | string | Y | 用户登入教研 |
返回值
{
"success":true,
"status":100,
"msg":"留言已提交",
"data":{
"rows":{
"verify_msg":{
"id":"227",
"group_id":"1",
"uid":"1",
"group_msg_body":"dasdfa",
"group_msg_img":[
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7.jpg"
],
"group_msg_addtime":"2017-07-13 09:58:39",
"verify_state":"1",
"group_msg_img_160X160":[
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_160X160.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_160X160.jpg"
],
"group_msg_img_320X320":[
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_320X320.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_320X320.jpg"
],
"group_msg_img_100X100":[
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_100X100.jpg",
"http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_100X100.jpg"
],
"nickname":"asd",
"background":"#c9ab89",
"head_path":"",
"sub_name":"d",
"addtime":"刚刚"
}
},
"total":38
}
}
备注
@property (nonatomic, assign) BOOL success; 返回状态 true成功 false 失败
@property (nonatomic, assign) NSInteger status; 返回状态码
@property (nonatomic, copy) NSString *msg; 返回错误提示语
@interface Data : NSObject 返回数据集合
@property (nonatomic, assign) NSInteger total;留言总数
@property (nonatomic, assign) NSInteger pageSize;分页总数
@property (nonatomic, strong) Rows *rows; 留言列表
@property (nonatomic, copy) NSString *id;留言ID
@property (nonatomic, copy) NSString *uid;用户ID
@property (nonatomic, copy) NSString *group_id;生日群ID
@property (nonatomic, copy) NSString *group_msg_body;留言内容
@property (nonatomic, strong) NSArray *group_msg_img;留言图片
@property (nonatomic, copy) NSString *group_msg_addtime;留言添加时间
@property (nonatomic, copy) NSString *verify_state;留言状态 1.审核中 2.审核通过 3.审核失败
@property (nonatomic, copy) NSString *head_path;用户头像地址
@property (nonatomic, copy) NSString *sub_name;用户名(李*新)
@property (nonatomic, copy) NSString *background;头像背景色
@property (nonatomic, copy) NSString *nickname;用户名
json数据实例
{"success":true,"status":100,"msg":"u7559u8a00u5df2u63d0u4ea4","data":{"rows":{"verify_msg":{"id":"227","group_id":"1","uid":"1","group_msg_body":"dasdfa","group_msg_img":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7.jpg"],"group_msg_addtime":"2017-07-13 09:58:39","verify_state":"1","group_msg_img_160X160":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_160X160.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_160X160.jpg"],"group_msg_img_320X320":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_320X320.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_320X320.jpg"],"group_msg_img_100X100":["http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/c90c0582a55ab4c5dc5a7c4559a6e8ce_100X100.jpg","http://test.app.1zhe.com:8082/s1/lw/bitrhday_group_img/20170619/a986da17e0cee568fa93dcc102cb67e7_100X100.jpg"],"nickname":"asd","background":"#c9ab89","head_path":"","sub_name":"d","addtime":"u521au521a"}},"total":38}}