loc-framework
loc-framework copied to clipboard
本项目是完全基于Spring Boot2和Springcloud Finchley所进行了开发的,目的是简化和统一公司内部使用微服务框架的使用方法
Bumps commons-io from 2.6 to 2.7. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps [mybatis](https://github.com/mybatis/mybatis-3) from 3.4.6 to 3.5.6. Release notes Sourced from mybatis's releases. mybatis-3.5.6 Enhancements: A new configuration option defaultSqlProviderType is added. The specified class will be used as the SQL...
>问题1:class和interface封装工具类除了代码默认简写外还有其他区别吗?因为interface没有private,所以还是喜欢用class写。 >问题2:前后端分离后,数据用map封装放data好还是这样自定义好? ~~~java public class ProblemUtil { public static Problem createProblem(Object... datas) { ProblemBuilder builder = Problem.builder().withDetail("success").with("code", 0); for(Object obj:datas){ String name = getName(obj); builder.with(name,obj); } return builder.build(); } public...
`@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class,DataSourceTransactionManagerAutoConfiguration.class }) @EnableTransactionManagement public class SampleMybatisApplication { public static void main(String[] args) throws Exception { SpringApplication app = new SpringApplication( SampleMybatisApplication.class); app.run(args); } @Autowired private HotMapper hotMapper;...
请教些问题
1.Ioc-samples 中依赖的loc-framework-config-sample 中没有这个config-starter 2.mybatis中的配置文件 中的readDemo等的连接数据库属性在 中没有定义和解析,请问是怎么能够设置连接的,若设置的是默认的数据库,那请问是怎么去设置的呢? 3.