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/system_status.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/system_status.go b/model/system_status.go index 90a05ee..f5d15b5 100644 --- a/model/system_status.go +++ b/model/system_status.go @@ -12,7 +12,7 @@ type ( // SystemStatus 绯荤粺鐘舵�� SystemStatus struct { - gorm.Model + CommonModel Key constvar.SystemStatusKey `json:"key" gorm:"column:key;type:varchar(255);not null"` Value constvar.SystemStatusValue `json:"value" gorm:"column:value;type:varchar(255);not null"` } -- Gitblit v1.8.0