Closed PichuChen closed 3 years ago
在 /v1/boards/{{board_id}}/settings 回傳時的 false 應該是字串 "false"
/v1/boards/{{board_id}}/settings
"false"
另外這個 API 應該要有權限保護?
回傳值應該是字串值,可能要用 fmt.Sprintf 包起來
OS: macOS 11.4 測試集:bbs_backup_1624243644.tar.xz Golang Version: go version go1.16.2 darwin/amd64
請參見 PTTAPP go-BBS 後端測試表 2021060401 C3-3-1
這個我來
發生了什麼事? / The Problem
在
/v1/boards/{{board_id}}/settings
回傳時的 false 應該是字串"false"
另外這個 API 應該要有權限保護?
如何重現 / To Reproduce
預期的行為 / Expected behavior
回傳值應該是字串值,可能要用 fmt.Sprintf 包起來
螢幕截圖 / Screenshots
開發環境 / Environment
OS: macOS 11.4 測試集:bbs_backup_1624243644.tar.xz Golang Version: go version go1.16.2 darwin/amd64
請參見 PTTAPP go-BBS 後端測試表 2021060401 C3-3-1