摘要: 1 连接mysql import pymysql import concurrent coon=pymysql.connect(host='localhost',user='root',password='123456',db='worlflow',charset='utf8',port=3306) 阅读全文
posted @ 2020-11-07 15:25 睁yan-ii 阅读(974) 评论(0) 推荐(0) 编辑
摘要: 1 base64 的基本使用 import base64 with open('../static/upload/63bc620d1594779d6a98c53a3a8db1e5.png','rb') as f: data=f.read() encodesstr=base64.b64encode(d 阅读全文
posted @ 2020-11-07 15:14 睁yan-ii 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 参照地址 https://v3u.cn/a_id_140 1 前端vue上传 # 拖拽上窜 <template> <div> <input type="file" @change="upload_upyun" /> <div class="upload"> 拖拽上传 </div> </div> </ 阅读全文
posted @ 2020-11-07 15:06 睁yan-ii 阅读(255) 评论(0) 推荐(0) 编辑