摘要: PHP库存放超的方法 还有个方法就是 redis锁||redis操作库存||mysql 无符号字段库存 redis是单线程 所以不用担心并发 逻辑多用lua 阅读全文
posted @ 2021-10-27 11:41 newmiracle宇宙 阅读(42) 评论(0) 推荐(0) 编辑
摘要: python 读取字典文件的方法 dic = { 'age': 23, 'city': 'beijing', 'skill': 'python' } 命名dicfile 然后读取直接import import dicfile print(dicfile.dic['age']) 阅读全文
posted @ 2021-10-27 11:14 newmiracle宇宙 阅读(1697) 评论(0) 推荐(0) 编辑