案例代码: #定义模型 class BookInfo(db.Model): #设置表名 __tablename__ = 'bookinfo' #设置为主键之后,自动自增长 id = db.Column(db.Integer,primary_key=True) name = db.Column(db. ...
分类:
其他好文 时间:
2020-03-06 10:36:52
阅读次数:
49
本章介绍SpringBoot与JPA整合 整合流程 1、新建一个SpringBoot Web项目 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns ...
分类:
编程语言 时间:
2020-03-06 01:27:13
阅读次数:
75
网络编程 网络架构: C/S:qq、微信、浏览器、lol、cf 需要安装 C:client 客服端 S:server 服务端 B/S:百度、淘宝、码云 只要在浏览器输入网址就可以执行了 B:browser 浏览器 S:server 服务器 B/S 架构中的浏览器也是客户端的一种 B/S是C/S架构中 ...
分类:
编程语言 时间:
2020-03-05 22:22:12
阅读次数:
78
Command line instructions Git global setup git config --global user.name "Your Name" git config --global user.email ""you@example.com"" Create a new r ...
分类:
其他好文 时间:
2020-03-05 17:56:13
阅读次数:
63
具体报错: AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCrede ...
分类:
其他好文 时间:
2020-03-03 12:45:06
阅读次数:
88
(1) sent one mail to IC inbox via outlook: (2) go to SWEL to check if there is one entry for the mail you just sent (3) go to tcode SWI1, you will fin ...
分类:
其他好文 时间:
2020-03-03 10:47:28
阅读次数:
64
1.在eclipse终端选中servers,然后在下面的空白出点击鼠标右键new->Server 2.点开之后,选中Apache,找到你电脑本地安装的tomcat版本号,本人安装的是v7.0版本,所以选中的是Tomcat v7.0 Server,点击next, 3.选中安装的tomcat路径,点击f ...
分类:
系统相关 时间:
2020-03-02 14:24:58
阅读次数:
87
gitee下载的项目,点击“Add to Index”后就会整个项目显示*号 解决方法:删除“C:\Users\{username}\.git.config”文件,重新配置 git config --global user.name 'Jhone'git config --global user.e ...
分类:
其他好文 时间:
2020-03-02 13:06:05
阅读次数:
104
一使用SMTP模块发送邮件 qq邮箱发送邮件到163邮箱 首先,获取qq邮箱的授权码: 设置-账户 import smtplib from email.mime.text import MIMEText from email.header import Header msg_from = '2*** ...
分类:
编程语言 时间:
2020-03-02 00:47:59
阅读次数:
98
实战一:实现批量安装zabbix-agent包 环境准备: zabbox-server服务器:192.168.7.100 zabbix-agent(node1):192.168.7.101 zabbix-agent(node2):192.168.7.102 mariadb数据库(node3):192 ...
分类:
Web程序 时间:
2020-02-29 20:23:46
阅读次数:
94