# GET /api/stats/study-time-monthly - 场景:首页「学习时段分布」按月柱状图 - 捕获时间:2026-10-11(UTC+8) - 页面:`https://www.tanqudao.com/app/` ## 入参 查询字符串,无请求体。当前月时「下个月」按钮禁用。切到上一月会再请求一次。 ```json { "year": 2026, "month": 10 } ``` ## 出参 - 状态:200 - 柱高按当月最大 `spentSec` 等比。0 秒只有灰色底柱,没有额外空文案。 2026-10:10 日 451 秒,11 日 893 秒,其余为 0。 ```json { "ok": true, "message": "", "data": { "year": 2026, "month": 10, "days": 31, "items": [ {"day": 1, "spentSec": 0}, {"day": 2, "spentSec": 0}, {"day": 3, "spentSec": 0}, {"day": 4, "spentSec": 0}, {"day": 5, "spentSec": 0}, {"day": 6, "spentSec": 0}, {"day": 7, "spentSec": 0}, {"day": 8, "spentSec": 0}, {"day": 9, "spentSec": 0}, {"day": 10, "spentSec": 451}, {"day": 11, "spentSec": 893}, {"day": 12, "spentSec": 0}, {"day": 13, "spentSec": 0}, {"day": 14, "spentSec": 0}, {"day": 15, "spentSec": 0}, {"day": 16, "spentSec": 0}, {"day": 17, "spentSec": 0}, {"day": 18, "spentSec": 0}, {"day": 19, "spentSec": 0}, {"day": 20, "spentSec": 0}, {"day": 21, "spentSec": 0}, {"day": 22, "spentSec": 0}, {"day": 23, "spentSec": 0}, {"day": 24, "spentSec": 0}, {"day": 25, "spentSec": 0}, {"day": 26, "spentSec": 0}, {"day": 27, "spentSec": 0}, {"day": 28, "spentSec": 0}, {"day": 29, "spentSec": 0}, {"day": 30, "spentSec": 0}, {"day": 31, "spentSec": 0} ] } } ``` 2026-09(点击 ‹ 后):`days` 为 30,30 天 `spentSec` 全是 0,页面上没有紫色柱。