06 2020 档案

摘要:运行时如果提示模块requests和simplejson不存在使用命令 pip install requests pip install simplejson import requests import json import simplejson import base64 #第一步:获取人脸关 阅读全文
posted @ 2020-06-24 15:19 为乐而来 阅读(4909) 评论(0) 推荐(0) 编辑
摘要:用的pytone3.8,很久没有搞python了,用vscode运行以前的py代码居然报错: Traceback (most recent call last): File "C:\Program Files (x86)\Python\Python38-32\lib\runpy.py", line 阅读全文
posted @ 2020-06-24 14:14 为乐而来 阅读(15496) 评论(1) 推荐(0) 编辑
摘要:前后端分离开发时,有时候从entity实体中复制字段到前端要一个一个替换比较麻烦写了一个批量替换的方法 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Java entity to json</title> </head> <b 阅读全文
posted @ 2020-06-15 17:16 为乐而来 阅读(963) 评论(0) 推荐(0) 编辑
摘要:如下图 解决办法: 在URL后面添加参数即可: ?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC 阅读全文
posted @ 2020-06-03 20:56 为乐而来 阅读(12504) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示