摘要: db = get_db_return() models_item = models.Item( ) db.add(models_item) for i in range(10): try: db.commit() break except Exception as e: db.rollback() 阅读全文
posted @ 2023-11-30 17:33 bitterteaer 阅读(7) 评论(0) 推荐(0) 编辑