package com.yh.saas.plugin.news.config;

import com.yh.saas.common.support.gateway.EnableResponseWrapper;
import com.yh.saas.common.support.plugin.RegisterPlugin;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@MapperScan({"com.yh.saas.plugin.news.**.mapper"})
@RegisterPlugin(id = "news", name = "新闻", desc = "新闻", entryPackage = {"com.yh.saas.plugin.news"})
@EnableResponseWrapper(ignores = {"/swagger-resources.*", "/v2/api-docs", "/webjars.*"}) // 开启response封装
@Configuration
public class NewsConfig {

}
