From 8e941bd782f574597f19c980982afade4dc11748 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 08 十二月 2023 19:52:20 +0800 Subject: [PATCH] snowflake的id传参换成字符串 --- model/reports_to_cloud.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/reports_to_cloud.go b/model/reports_to_cloud.go index f4acf5b..5c2faf4 100644 --- a/model/reports_to_cloud.go +++ b/model/reports_to_cloud.go @@ -10,7 +10,7 @@ type ( // ReportsToCloud 鏁版嵁涓婃姤 ReportsToCloud struct { - gorm.Model + CommonModel ReportType constvar.ReportType `json:"reportType"` //涓婃姤绫诲瀷 Content string `json:"Content"` } -- Gitblit v1.8.0