03 2019 档案
摘要:from sqlalchemy import create_engine, MetaData from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session class SqlAlchemyDB(object): def __init__(self, _dbname, _tables...
阅读全文
摘要:import sched import time, arrow def timedTask(): scheduler = sched.scheduler(time.time, time.sleep) scheduler.enter(10, 1, task) scheduler.run() # 每10秒执行一次 def task(): print(arrow....
阅读全文
摘要:1.jar包依赖 2.application.yml 3.config配置类 4.util工具类 5.RedisUtil.java 6.测试controller
阅读全文
摘要:第一种: 第二种:
阅读全文
摘要:springboot 项目使用 1. 在resources 目录创建 logback.xml 2.复制
阅读全文