摘要:
try: if cover: resp = requests.get('%s?x-oss-process=image/info' % (url), timeout=30) if resp.status_code == 200: rj = resp.json() article_data['c_h'] 阅读全文
posted @ 2019-05-21 18:38
叶落kiss
阅读(443)
评论(0)
推荐(0)
摘要:
try: cursor.execute(sql_1) cursor.execute(sql_2) cursor.execute(sql_3) except Exception as e: connect.rollback() # 事务回滚 print('事务处理失败', e)else: connec 阅读全文
posted @ 2019-05-21 11:37
叶落kiss
阅读(5287)
评论(0)
推荐(1)

浙公网安备 33010602011771号