This commit is contained in:
lizhengwei 2026-03-25 15:39:04 +08:00
parent 8d9cd66b2c
commit 98d0f16b0c
4 changed files with 11 additions and 7 deletions

View File

@ -2,4 +2,7 @@
后续h5在线链接、在线抽奖系统。 后续h5在线链接、在线抽奖系统。
支持两种部署方式切换,分布式、单机。
同时支持多租户,或者单租户

View File

@ -90,13 +90,14 @@ create table h5_form_submission
primary key, primary key,
project_id bigint null comment 'H5Project的ID', project_id bigint null comment 'H5Project的ID',
templet_form_id bigint null comment '模板表单ID', templet_form_id bigint null comment '模板表单ID',
form_id bigint null comment '表单ID', form_id bigint null comment '表单ID',
ip_address varchar(50) null comment '提交者IP地址', ip_address varchar(50) null comment '提交者IP地址',
user_agent varchar(512) null comment '用户代理信息', user_agent varchar(512) null comment '用户代理信息',
form_data json not null comment '表单数据JSON格式存储', form_data json not null comment '表单数据JSON格式存储',
create_time datetime default CURRENT_TIMESTAMP not null comment '创建时间戳', create_time datetime default CURRENT_TIMESTAMP not null comment '创建时间戳',
update_time datetime null on update CURRENT_TIMESTAMP comment '更新时间戳', update_time datetime null on update CURRENT_TIMESTAMP comment '更新时间戳',
created_by bigint null comment '创建人' created_by bigint null comment '创建人',
td bigint not null comment '租户id'
) )
comment '表单提交记录表' charset = utf8mb4; comment '表单提交记录表' charset = utf8mb4;

View File

@ -74,7 +74,7 @@ public class H5ProjectController {
@Operation(summary = "根据ID查询H5项目") @Operation(summary = "根据ID查询H5项目")
@GetMapping("/{id}") @GetMapping("/{id}")
public H5Project getH5ProjectById(@PathVariable Long id) { public H5Project getH5ProjectById(@PathVariable Long id) {
return h5ProjectService.getH5ProjectWithContent(id); return TenantHelper.ignore(() -> h5ProjectService.getById(id));
} }
/** /**

View File

@ -587,7 +587,7 @@ public class H5ProjectContentDTO {
public static class Animation { public static class Animation {
private String type; private String type;
private Integer order; private Integer order;
private Map<String, Object> keyframes; private Object keyframes;
private Integer delay; private Integer delay;
private Integer duration; private Integer duration;
private String fill; private String fill;