Commit 410b5d0c by zhangkb

修改返回值

parent 881a6658
......@@ -3,7 +3,7 @@ package com.keymobile.indicators.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)
@ResponseStatus(code = HttpStatus.INTERNAL_SERVER_ERROR,reason="server error")
public class ApiException extends Exception{
public ApiException(String msg) {
super(msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment