Google Docs
讓我們用庶民版的滿漢全席告別2020! 2021/2/3(三)18:30 寧・夏・夜・市・千・歲・宴
![]()
我發 pull request 了 <https://github.com/Disfactory/Disfactory/pull/491>
#492 修正花蓮與台東有缺少鄉鎮的問題,並且在 /api/statistics/total 增加 documents 的欄位
1. 因為縣市列表的來源是從 <https://github.com/pixnet/TaiwanZipCodes/blob/master/tw_zipcode.json|https://github.com/pixnet/TaiwanZipCodes/blob/master/tw_zipcode.json> 來的, 並且他在花蓮與台東有缺少鄉鎮,因此產生出來的 zipcode.py 也有問題。 因此重新更新一次此檔案。 2. 在 `/api/statistics/total` 加入 `documents` 的欄位,所以現在回傳會類似 {'基隆市': {'factories': 0, 'report_records': 0, 'documents': 0, '未處理': 0, '處理中': 0, '已斷電': 0, '已拆除': 0}, ...```