Ken 1 месяц назад
Родитель
Сommit
37db62aadf
1 измененных файлов с 23 добавлено и 0 удалено
  1. 23 0
      app/Http/Controllers/api/Issue.php

+ 23 - 0
app/Http/Controllers/api/Issue.php

@@ -18,6 +18,29 @@ class Issue extends BaseController
      *
      * @apiParam {String} [date] 日期 默认当天
      * - 格式:yyyy-mm-dd
+     *
+     * @apiSuccess {int} code
+     * @apiSuccess {int} timestamp
+     * @apiSuccess {String} msg
+     * @apiSuccess {Object[]} data
+     * @apiSuccess {String} data.date
+     * @apiSuccess {int} data.total 总数
+     * @apiSuccess {int} data.big 大
+     * @apiSuccess {int} data.small 小
+     * @apiSuccess {int} data.odd 单
+     * @apiSuccess {int} data.even 双
+     * @apiSuccess {int} data.big_odd 大单
+     * @apiSuccess {int} data.big_even 大双
+     * @apiSuccess {int} data.small_odd 小单
+     * @apiSuccess {int} data.small_even 小双
+     * @apiSuccess {int} data.max 极大
+     * @apiSuccess {int} data.min 极小
+     * @apiSuccess {int} data.pair 对子
+     * @apiSuccess {int} data.sequence 顺子
+     * @apiSuccess {int} data.leopard 豹子
+     * @apiSuccess {int} data.num_0 00号
+     * @apiSuccess {int} data.num_1 01号
+     *
      */
     function history()
     {