gq 8 years ago
parent
commit
26830c8860
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/app/Http/Controllers/Api/V1/IndexController.php

+ 1 - 1
server/app/Http/Controllers/Api/V1/IndexController.php

xqd
@@ -15,7 +15,7 @@ class IndexController extends Controller
      * @api {get} /api/index/home 首页
      * @apiDescription 首页
      * @apiGroup Index
-     * @apiParam {string}  type   (热门)hot/(潮流)trend/(最新)news
+     * @apiParam {string}  [type=hot]   (热门)hot/(潮流)trend/(最新)news
      * @apiParam {int}      [page=1]            页码(分页参数)
      * @apiPermission none
      * @apiVersion 0.1.0