## :-: **發表帖子**
### 發表內容
~~~[api]
post:/api/posts/send
string:token=1&23ec69c7a8fdd74c57c820843963bf24#用戶標識
int:content=你看,那個人好像一條狗哎。#帖子內容
int:classify_id=2#帖子類型
string:type=1-0#圖片展示類型
string:img=1,2,3#圖片id
<<<
success
{
"code": 1,
"msg": "send success
", //發布成功,
"result": { //帖子信息
"user_id": 1,
"classify_id": "2",
"content": "你看,那個人好像一條狗哎。",
"status": "2",
"create_time": "December 27 , 2018",
"update_time": "December 27 , 2018",
"id": "59"
}
}
<<<
error
{
"code": 0,
"msg": "posted failure", // 發布失敗
}
~~~