今天就是要在這兩個例子上實作HTTP Status Code,並以JSON 格式拋出錯誤例外訊息。 1. 安裝http-status. 在你的專案中安裝Node.js 的http-status 組件。 yarn add http- ...
確定! 回上一頁