fix(pages): send a form block's event uuid as a string; page detail carries branding
A Snowflake event uuid is beyond JavaScript number precision, so the editor would round it. The counter now writes it as a string and the public page service reads either form. The admin page detail adds the company's branding for the editor's preview. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
1 parent
98a77fa17d
commit
ab9d3f4942
6 files changed
+49
-3
No files matched your search
@@ -1,6 +1,8 @@
|
||||
package com.solvway.services.counter.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -24,5 +26,7 @@ public class CmsBlock {
|
||||
private String buttonLabel;
|
||||
private String buttonUrl;
|
||||
private List<CmsFaqItem> items;
|
||||
/** A Snowflake value beyond JavaScript number precision: written as a string, read from either. */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long eventUuid;
|
||||
}
|
||||
Reference in new issue
Block a user