package com.yh.saas.platform.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker;

import com.yh.saas.common.support.gateway.EnableAccessLog;
import com.yh.saas.common.support.gateway.EnableResponseWrapper;

/**
 * 平台配置
 * 
 * @author gdc
 *
 */
@MapperScan({ "com.yh.saas.platform.mapper" })
@EnableTransactionManagement
@EnableAccessLog // 开启访问日志
@EnableResponseWrapper(ignores = { "/swagger-resources.*", "/v2/api-docs", "/webjars.*" }) // 开启response封装
@Configuration
public class PlatformConfig implements WebMvcConfigurer {
	
}
