cn.acyou.leo.framework.prop.LeoDebugProperty Maven / Gradle / Ivy
package cn.acyou.leo.framework.prop;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.ArrayList;
import java.util.List;
/**
* @author youfang
* @version [1.0.0, 2021-8-17]
**/
@Data
@ConfigurationProperties(prefix = "leo.debug")
public class LeoDebugProperty {
/**
* 打印异常到Result中
*/
private boolean printToResult = true;
/**
* 打印请求信息
*/
private boolean printRequestInfo = true;
/**
* 打印执行的SQL
*/
private boolean printPerformanceSql = false;
/**
* SpringMvcInterceptor Token校验
*/
private boolean tokenVerify = false;
/**
* 接口统计分析
*/
private boolean interfaceCallStatistics = false;
/**
* 接口统计分析 忽略的接口地址
*/
private List ignoreUriList = new ArrayList<>();
}