status 為HTTP Status Code 狀態碼,這邊使用http-status 組件來定義401 httpStatus.NOT_FOUND ,最後code 填上401 這個錯誤代碼是提供給測試端的人若有問題會得到401 ...
確定! 回上一頁