feat(Java_SpringExample): 优化类名、@auther、添加控制层测试
CacheController 缓存
EncodedController 编码
FreemarkerController 模板
FullFillTimeValueController 补时间
ITextController pdf生成
LoginController 登录控制
RedisController redis操作
RequestLimitController 接口访问频率控制
WangEditorController WangEditor编辑器使用
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
package config;
|
||||
|
||||
|
||||
import org.apache.ibatis.session.SqlSessionFactory;
|
||||
import org.mybatis.spring.SqlSessionFactoryBean;
|
||||
import org.mybatis.spring.mapper.MapperScannerConfigurer;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.config.BeanPostProcessor;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
@@ -47,9 +45,6 @@ import java.util.Properties;
|
||||
@ComponentScan
|
||||
public class ContextComponentLoader {
|
||||
|
||||
@Autowired
|
||||
private SqlSessionFactory sqlSessionFactory;
|
||||
|
||||
/**
|
||||
* 配置数据源
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user