>获取当前登录用户的下级列表(按照最后操作的时间排序)
~~~[api]
get:/index.php/member/Apirecord/member_user_record_list
<<<
success
{
"err": 0,
"data": [
{
"id": 10,
"name": "小怪兽0",
"headPath": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png",
"last_record": {
"id": 10,
"content": "小怪兽0",
"addtime": 12345678910,
"sign": "product"
}
}
]
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "错误信息"
}
~~~
>获取某个用户的操作记录
~~~[api]
get:/index.php/member/Apirecord/get_record_list
string:sign_name= #记录的内容标识
int:userid= #获取用户的id
int:pagesize=10#每页显示个数
int:page=1#显示页码数
string:sort= id #排序字段
string:sort_type= asc#排序类型
<<<
success
{
"err": 0,
"userInfo": {
"id": 10,
"name": "小怪兽0",
"headPath": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png"
},
"data": [
{
"id": 10,
"addtime": 123456789,
"sign": "product",
"content": "",
}
]
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "错误信息"
}
~~~
>获取当前登录用户的操作记录
~~~[api]
get:/index.php/member/Apirecord/member_get_record_list
string:sign_name= #记录的内容标识
int:pagesize=10#每页显示个数
int:page=1#显示页码数
string:sort= id #排序字段
string:sort_type= asc#排序类型
<<<
success
{
"err": 0,
"userInfo": {
"id": 10,
"name": "小怪兽0",
"headPath": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png"
},
"data": [
{
"id": 10,
"addtime": 123456789,
"sign": "product",
"content": ""
}
]
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "错误信息"
}
~~~