...
|
...
|
@@ -288,4 +288,32 @@ class Topic extends Api |
|
|
{
|
|
|
$topic_id = $this->request->param('topic_id');
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @ApiTitle (评论-列表)
|
|
|
* @ApiSummary (评论-列表)
|
|
|
* @ApiMethod (POST)
|
|
|
*
|
|
|
* @ApiParams (name="topic_id", type="int", required=true, description="话题ID")
|
|
|
*
|
|
|
* @ApiReturn({
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1599046220",
|
|
|
"data": {
|
|
|
"id": 1, //试卷ID
|
|
|
"title": "测试试卷", //试卷标题
|
|
|
"year": 2015, //年费(单位:年)
|
|
|
"time": 100, //答题时间(单位:分)
|
|
|
"pass_score": 80, //合格分数
|
|
|
"description": "这个还行", //试卷描述
|
|
|
"do_num": 10, //回答人数
|
|
|
"full_score": 100 //试卷分数(单位:分)
|
|
|
}
|
|
|
})
|
|
|
*/
|
|
|
public function appraiseList()
|
|
|
{
|
|
|
$topic_id = $this->request->param('topic_id');
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|