|
@@ -18,11 +18,11 @@ import org.springframework.web.bind.annotation.ControllerAdvice;
|
|
|
import org.springframework.web.bind.annotation.ExceptionHandler;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
-@ControllerAdvice(annotations = Controller.class)
|
|
|
+//@ControllerAdvice(annotations = Controller.class)
|
|
|
public class AspectController {
|
|
|
private final static Logger log = LoggerFactory.getLogger(AspectController.class);
|
|
|
public final static HttpStatus ERROR_CODE = HttpStatus.INTERNAL_SERVER_ERROR;
|
|
|
- public final static String ERROR_CONTENT = "系统异常!";
|
|
|
+ public final static String ERROR_CONTENT = "系统繁忙!";
|
|
|
|
|
|
@ResponseBody
|
|
|
@ExceptionHandler(value = RuntimeException.class)
|