SpringBoot定製異常頁面

先看後臺代碼: 1由於是實驗所以先把攔截器註釋掉,當然不想註釋,再加上這些異常請求也行,我這裏先把這些註釋掉: public void addInterceptors(InterceptorRegistry registry) { //addPathPatterns("/**").excludePathPatterns("/","/index.html","/user/lo
相關文章
相關標籤/搜索