# 设置信息
- 1.将用户添加到推送标签中
~~~[api]
post:/push/post/addTotags
*string:uid=20180000#用户id
<<<
success
{
"status": true,
"resdata": {
"body": null,
"http_code": 200,
"headers": {
"0": "HTTP/1.1 200 OK",
"Server": "nginx",
"Date": "Mon, 26 Feb 2018 10:42:41 GMT",
"Content-Type": "application/json",
"Transfer-Encoding": "chunked",
"Connection": "keep-alive",
"X-Rate-Limit-Limit": "1200",
"X-Rate-Limit-Remaining": "1199",
"X-Rate-Limit-Reset": "60",
"X-Frame-Options": "SAMEORIGIN"
}
}
}
<<<
uidError
{
"status": false,
"title": "用户不存在",
"message": "请输入正确的用户id重试"
}
<<<
tagsError
{
"status": false,
"title": "尚未添加任何标签",
"message": "请添加标签后重试"
}
~~~