diff --git a/script/sql/zfjd-refactoring-v1/001-新增ry-plush表.sql b/script/sql/zfjd-refactoring-v1/001-新增ry-plush表.sql index 03e70d85..fbfba299 100644 --- a/script/sql/zfjd-refactoring-v1/001-新增ry-plush表.sql +++ b/script/sql/zfjd-refactoring-v1/001-新增ry-plush表.sql @@ -145,3 +145,6 @@ CREATE TABLE `test_tree` ( ) ENGINE = InnoDB COMMENT = '测试树表' ROW_FORMAT = Dynamic; 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'); diff --git a/zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-dev-cust-zrb.yml b/zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-dev-cust-zrb.yml index d17272b0..28f2ed39 100644 --- a/zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-dev-cust-zrb.yml +++ b/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: datasource: