最後,我們試著寫一個各個API被呼叫時,都能共用middleware看看。 首先,先進入到app.js檔案中,並加入: app.use(function (req, res, next) { ...
確定! 回上一頁