File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
backend/src/main/resources/db/migration
frontend/src/layout/components Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ -- ----------------------------
2
+ -- Table structure for user_key
3
+ -- ----------------------------
4
+ DROP TABLE IF EXISTS ` user_key` ;
5
+ CREATE TABLE `user_key ` (
6
+ ` id` bigint (20 ) NOT NULL AUTO_INCREMENT COMMENT ' ID' ,
7
+ ` user_id` bigint (20 ) DEFAULT NULL COMMENT ' 用户ID' ,
8
+ ` access_key` varchar (50 ) NOT NULL COMMENT ' access_key' ,
9
+ ` secret_key` varchar (50 ) NOT NULL COMMENT ' secret key' ,
10
+ ` create_time` bigint (13 ) NOT NULL COMMENT ' 创建时间' ,
11
+ ` status` varchar (10 ) DEFAULT NULL COMMENT ' 状态' ,
12
+ PRIMARY KEY (` id` ) USING BTREE,
13
+ UNIQUE KEY ` IDX_AK` (` access_key` ),
14
+ KEY ` IDX_USER_K_ID` (` user_id` ) USING BTREE
15
+ ) ENGINE= InnoDB AUTO_INCREMENT= 17 DEFAULT CHARSET= utf8 ROW_FORMAT= COMPACT COMMENT= ' 用户KEY' ;
Original file line number Diff line number Diff line change 54
54
<el-dropdown-item >{{ $t('commons.personal_info') }}</el-dropdown-item >
55
55
</router-link >
56
56
57
- <router-link to =" /ukey/index" >
57
+ <router-link v-if = " $store.getters.validate " to =" /ukey/index" >
58
58
<el-dropdown-item >{{ $t('commons.ukey_title') }}</el-dropdown-item >
59
59
</router-link >
60
60
You can’t perform that action at this time.
0 commit comments