推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
olddog5172
V2EX  ›  Python

请教一个操作日志的问题

  •  1
     
  •   olddog5172 · Sep 10, 2021 · 2363 views
    This topic created in 1848 days ago, the information mentioned may be changed or developed.

    现在我们系统 有一个套餐 就是有很多狗选项,可以任意配置一种套餐, 现在有一个需求 需要记录操作日志, 比如取消勾选了某某套餐 就记录开启 /关闭 [ X 模块功能] 一次关闭多个或者开启多个就用分号隔开, 有没有什么好的方法来对比呢 我现在就是把旧值查询出来 和 新值进行对比,前端传的都是全量数据

    olddog5172
        1
    olddog5172  
    OP
       Sep 10, 2021
    因为勾选项比较多 还有一些功能是限额配置,是有数字的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2100 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 00:29 · PVG 08:29 · LAX 17:29 · JFK 20:29
    ♥ Do have faith in what you're doing.