摘要:
SpringBoot工程默认读取application.properties配置文件。如果需要自定义properties文件,如何读取呢? 一、在resource中新建.properties文件 在resource目录下新建一个config文件夹,然后新建一个.properties文件放在该文件夹下 阅读全文
摘要:
public static void main(String[] args) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar cal = Calendar.getInstance(); ca 阅读全文