Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion app/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,11 @@ logging:
pattern:
file: "%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
file:
name: /logs
name: /logs

cors:
allowed-origins: "http://127.0.0.1:8090"
allowed-methods: "GET,POST,PUT,DELETE,OPTIONS"
allowed-headers: "Accept,Referer,User-Agent,x-lowcode-mode,x-lowcode-org,Content-Type,Authorization"
exposed-headers: "Authorization"
allow-credentials: true
4 changes: 2 additions & 2 deletions app/src/main/resources/sql/h2/create_all_tables_ddl_v1.h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ create table t_page (
page_content longtext comment '页面内容',
is_body tinyint(1) comment '根元素是否是body',
parent_id int not null comment '父文件夹id',
"group" varchar(255) comment '分组',
`group` varchar(255) comment '分组',
depth int comment '页面/文件夹深度,更改层级时服务端校验用(校验可有可无)',
is_page tinyint(1) not null comment '是否为页面:分为页面和文件夹',
occupier_by varchar(60) comment '当前检出者id',
Expand Down Expand Up @@ -362,7 +362,7 @@ create table t_page_history (
created_time timestamp not null default current_timestamp comment '创建时间',
last_updated_by varchar(60) not null comment '最后修改人',
last_updated_time timestamp not null default current_timestamp comment '更新时间',
primary key (id),
primary key (id)
) comment = '页面历史表';

drop table if exists t_page_template;
Expand Down
Loading
Loading