摘要: 步骤:1 安装pyinstaller -> 2 把第三方库的包复制到xxx.py同目录下 -> 3 pyinstaller -F 待打包文件名 (打包单个py文件) -> 4 check dist目录下生成的xxx.exe 1 install pyinstaller pip install pyin 阅读全文
posted @ 2020-05-06 16:07 Caesar_the_great 阅读(278) 评论(0) 推荐(0) 编辑
摘要: http://pypi.douban.com/simple/http://mirrors.aliyun.com/pypi/simple/https://pypi.tuna.tsinghua.edu.cn/simple 阅读全文
posted @ 2020-05-06 10:12 Caesar_the_great 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1 @JsonIgnore作用:在实体类向前台返回数据时用来忽略不想传递给前台的属性或接口。Eg:User实体中会有字段password字段,当返回用户信息给前台的时候,当然是不希望将password值也一并返回。所以,这个时候可以在password属性上加上注解JsonIgnore或者,可以在Us 阅读全文
posted @ 2020-05-06 09:00 Caesar_the_great 阅读(146) 评论(0) 推荐(0) 编辑