# 添加文章
~~~[api]
post:/article/post
*string:title=天商軟工專業簡介#文章標題
*string:content= 文章內容#文章內容
*string:time= 2018-02-25 17:26:06#文章發布時間
*json:tagid= ["002"]#文章標簽
*int:typeid= 3#文章類型
<<<
success
{
"status": true,
"id": "13"
}
<<<
error
{
"status": false,
"error": "該文章 標題|內容 已存在"
}
~~~
# 添加學院
~~~[api]
post:/article/post/college
*string:title=信息工程學院#學院名稱
*string:content= 學院簡介#學院簡介
*string:cover= #學院封面圖
*json:major= ["計算機科學與技術"]#學院專業
string:icon=apps#學院icon
<<<
success
{
"status": true,
"id": "13"
}
<<<
error
{
"status": false,
"error": "該學院已存在"
}
~~~