统一结果处理
This commit is contained in:
parent
b96ee28b67
commit
e069dcadd4
|
@ -15,7 +15,7 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
|
|||
/**
|
||||
* 统一处理返回结果集
|
||||
*/
|
||||
@RestControllerAdvice(value = {"io.metersphere.controller", "io.metersphere.api.controller", "io.metersphere.performance.controller"})
|
||||
@RestControllerAdvice(value = {"io.metersphere"})
|
||||
public class ResultResponseBodyAdvice implements ResponseBodyAdvice<Object> {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue