gq 8 年之前
父节点
当前提交
c376f7e1aa

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

xqd
@@ -23,7 +23,7 @@ class DreamController extends Controller
      * @apiGroup Dream
      * @apiPermission Passport
      * @apiVersion 0.1.0
-     * @apiParam {int} type home interaction paihang  默认all
+     * @apiParam {int} [type=home] home interaction paihang  默认all
      * @apiParam {int} id 梦想ID
      * @apiSuccessExample {json} Success-Response:
      * HTTP/1.1 200 OK

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

xqd
@@ -115,7 +115,7 @@ class IndexController extends Controller
      * @apiGroup Index
      * @apiPermission none
      * @apiVersion 0.1.0
-     * @apiParam {string}  keyword   关键字可选  (ha/name)
+     * @apiParam {string}  [keyword]   关键字可选  (ha/name)
      * @apiSuccessExample {json} Success-Response:
      * HTTP/1.1 200 OK
      *           get

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

xqd
@@ -331,7 +331,7 @@ class MyController extends Controller
      * @apiDescription 我的收藏
      * @apiGroup My
      * @apiPermission Passport
-     * @apiParam {string}  keyword   关键字可选
+     * @apiParam {string}  [keyword]   关键字可选
      * @apiVersion 0.1.0
      * @apiSuccessExample {json} Success-Response:
      * HTTP/1.1 200 OK