mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-09-14 11:19:45 +08:00
1.update README
2.密码不用明文存储
This commit is contained in:
@@ -6,7 +6,7 @@ spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
username: root
|
||||
password: 8888
|
||||
password: root
|
||||
url: jdbc:mysql://localhost:3306/hotel?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=true
|
||||
mybatis:
|
||||
type-aliases-package: classpath*:cn.mafangui.hotel.entity
|
||||
|
@@ -81,7 +81,7 @@ CREATE TABLE
|
||||
IF NOT EXISTS `user_info` (
|
||||
`user_id` INT NULL AUTO_INCREMENT COMMENT '用户id',
|
||||
`username` VARCHAR (16) NOT NULL COMMENT '用户名',
|
||||
`password` VARCHAR (16) NOT NULL COMMENT '密码',
|
||||
`password` VARCHAR (256) NOT NULL COMMENT '密码',
|
||||
`name` VARCHAR(16) not NULL COMMENT '姓名',
|
||||
`gender` CHAR(2) not null DEFAULT '男' COMMENT '性别',
|
||||
`phone` VARCHAR (16) NOT NULL COMMENT '手机号码',
|
||||
|
Reference in New Issue
Block a user