modify application.properties

This commit is contained in:
juzeon 2021-08-18 10:58:37 +08:00
父節點 68a003cb27
當前提交 be6ea0f41c
共有 2 個檔案被更改,包括 7 行新增4 行删除

查看文件

@ -13,7 +13,9 @@ import org.springframework.stereotype.Service;
@Service
public class refreshServiceImpl implements refreshService {
freshServiceImpl ser=new freshServiceImpl();
@Autowired
freshServiceImpl ser;
//version1大返回一个正数小返回一个负数相等返回0
public static int compareVersion(String version1, String version2) throws Exception {
if (version1 == null || version2 == null) {

查看文件

@ -1,7 +1,8 @@
spring.datasource.url = jdbc:mysql://localhost:3306/emoji?useUnicode=true&characterEncoding=utf-8
spring.datasource.username = root
spring.datasource.password = root
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
mybatis.mapper-locations=com.update.update.dao.freshMapper
# spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
# mybatis.mapper-locations=com.update.update.dao.freshMapper
mybatis.configuration.map-underscore-to-camel-case=true
spring.jackson.time-zone=GMT+8