Skip to content

Commit 68f2719

Browse files
committed
增加缺失字段
1 parent 3e4b5da commit 68f2719

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
## 结构
22

3-
├── admin //后台vue项目,vue-cli创建
3+
├── admin //后台vue项目,vue-cli创建
44
│   ├── build
55
│   ├── config
66
│   ├── index.html
77
│   ├── package.json
88
│   ├── src
99
│   └── static
1010
├── development.js //开发模式入口
11-
├── package.json
11+
├── package.json
1212
├── production.js //生产模式入口
1313
├── src
14-
│   ├── bootstrap //启动自动执行目录
14+
│   ├── bootstrap //启动自动执行目录
1515
│   ├── config //配置目录
1616
│   ├── controller //控制器目录
1717
│   │   ├── api //接口控制器目录
1818
│   ├── extend
1919
│   ├── logic
20-
│   ├── model //模型目录
20+
│   ├── model //模型目录
2121
│   └── service
22-
├── view //前台模版目录
22+
├── view //前台模版目录
2323
└── www //对外开放目录
2424
├── admin.html //后台入口文件
2525
└── static //静态资源

database.sql

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,16 @@ CREATE TABLE `ls_user` (
175175
`zhihu` varchar(100) DEFAULT NULL,
176176
`weibo` varchar(100) DEFAULT NULL,
177177
`password` varchar(50) NOT NULL,
178-
`encrypt` varchar(10) NOT NULL
178+
`encrypt` varchar(10) NOT NULL,
179+
`last_login_time` int(10) DEFAULT NULL
179180
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
180181

181182
--
182183
-- 转存表中的数据 `ls_user`
183184
--
184185

185-
INSERT INTO `ls_user` (`id`, `username`, `email`, `qq`, `github`, `zhihu`, `weibo`, `password`, `encrypt`) VALUES
186-
(1, 'admin', NULL, '', NULL, NULL, NULL, '24d8cee9ed793b9f818b6c4b67aae9aa', 'Mje5sowT7');
186+
INSERT INTO `ls_user` (`id`, `username`, `email`, `qq`, `github`, `zhihu`, `weibo`, `password`, `encrypt`, `last_login_time`) VALUES
187+
(1, 'admin', NULL, '', NULL, NULL, NULL, '24d8cee9ed793b9f818b6c4b67aae9aa', 'Mje5sowT7', '');
187188

188189
--
189190
-- Indexes for dumped tables

nginx.conf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,6 @@ server {
1818
proxy_redirect off;
1919
}
2020

21-
location = /development.js {
22-
deny all;
23-
}
24-
location = /testing.js {
25-
deny all;
26-
}
27-
28-
location = /production.js {
29-
deny all;
30-
}
31-
3221

3322
location ~ ^/(static|uploads)/ {
3423
etag on;

0 commit comments

Comments
 (0)