spring.main.banner-mode=off
# create and drop tables and sequences, loads import.sql
-spring.jpa.hibernate.ddl-auto=create-drop
+spring.jpa.hibernate.ddl-auto=update
# Oracle settings
spring.datasource.url=jdbc:oracle:thin:@172.28.201.101:47922:orcl
-spring.datasource.username=ecardtest
+spring.datasource.username=dlpay
spring.datasource.password=kingstar
spring.datasource.driver-class-oracle.jdbc.driver.OracleDriver
redis.server=172.28.201.101
redis.port=16379
redis.password=kingstar
-redis.database=0
\ No newline at end of file
+redis.database=0
+
+# jwt settings
+jwt.secret=Zj5taLomEbrM0lk+NMQZbHfSxaDU1wekjT+kiC3YzDw=
+# timeout seconds
+jwt.expiration=3600
\ No newline at end of file
id, operid, role_id)
VALUES ('1', 'LOR2IwRkbOjp+sVG9KR2BpHZbwGKepS4', 'd1yctWs5+ks0iQN3m9bUvRHus6HbKbrs');
+-- 功能表
+Insert into TB_FUNCTION (ID,PARENT_ID,NAME,ORDER_NUM,MENU_URL,MENU_ICON,IS_LEAF)
+values ('1','-1','系统中心',1,'#','layui-icon-set',0);
+Insert into TB_FUNCTION (ID,PARENT_ID,NAME,ORDER_NUM,MENU_URL,MENU_ICON,IS_LEAF)
+values ('2','1','管理员维护',1,'#','layui-icon-set',1);
+
+Insert into TB_ROLE_FUNCTION (ID,FUNCTION_ID,ROLE_ID) values ('1','1','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs');
+Insert into TB_ROLE_FUNCTION (ID,FUNCTION_ID,ROLE_ID) values ('2','2','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs');
+
commit;
\ No newline at end of file