Spring Boot中Web應用的統一異常處理實戰

 一 創建全局異常處理類 package com.didispace.exception; import com.didispace.dto.ErrorInfo; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.Excep
相關文章
相關標籤/搜索