摘要:
代码: @api.after_request def log_params(response): # 计算响应时间并记录响应体(如果需要) current_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) ip = request 阅读全文
posted @ 2026-03-20 17:55
刘宏缔的架构森林
阅读(3)
评论(0)
推荐(0)
摘要:
一,启动shell $ source venv/bin/activate ((venv) ) [lhdop@blog enterprise_library_api]$ flask shell 二,执行函数 >>> from app.jobs.util import import_china_city 阅读全文
posted @ 2026-03-20 11:24
刘宏缔的架构森林
阅读(1)
评论(0)
推荐(0)
浙公网安备 33010602011771号