Browse Source

补上初始化数据

dev-V1.0.1
庄锐波 6 months ago
parent
commit
66a659a486
  1. 3
      script/sql/zfjd-refactoring-v1/001-新增ry-plush表.sql
  2. 5
      zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-dev-cust-zrb.yml

3
script/sql/zfjd-refactoring-v1/001-新增ry-plush表.sql

@ -145,3 +145,6 @@ CREATE TABLE `test_tree` (
) ENGINE = InnoDB COMMENT = '测试树表' ROW_FORMAT = Dynamic; ) ENGINE = InnoDB COMMENT = '测试树表' ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS=1; SET FOREIGN_KEY_CHECKS=1;
INSERT INTO sys_client (id, client_id, client_key, client_secret, grant_type, device_type, active_timeout, timeout, status, del_flag, create_dept, create_by, create_time, update_by, update_time) VALUES (1, 'e5cd7e4891bf95d1d19206ce24a7b32e', 'pc', 'pc123', 'password,social', 'pc', 1800, 604800, '0', '0', '103', 1, '2026-03-31 20:14:46', 1, '2026-03-31 20:14:46');
INSERT INTO sys_client (id, client_id, client_key, client_secret, grant_type, device_type, active_timeout, timeout, status, del_flag, create_dept, create_by, create_time, update_by, update_time) VALUES (2, '428a8310cd442757ae699df5d894f051', 'app', 'app123', 'password,sms,social', 'android', 1800, 604800, '0', '0', '103', 1, '2026-03-31 20:14:46', 1, '2026-03-31 20:14:46');

5
zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-dev-cust-zrb.yml

@ -1,3 +1,8 @@
server:
compression:
enabled: true
mime-types: application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css
min-response-size: 1024
--- # 数据源配置 --- # 数据源配置
spring: spring:
datasource: datasource:

Loading…
Cancel
Save