From 0e83df8e39bc3822b48a239b4db4e0b0fcf31cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=94=90?= Date: Tue, 14 Mar 2023 10:43:18 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Asupport=20for=20setting=20custom?= =?UTF-8?q?=20resource-id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/cloudcommon/db/standalone_anon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudcommon/db/standalone_anon.go b/pkg/cloudcommon/db/standalone_anon.go index 9b2e47e678..98462d5f62 100644 --- a/pkg/cloudcommon/db/standalone_anon.go +++ b/pkg/cloudcommon/db/standalone_anon.go @@ -45,7 +45,7 @@ type SStandaloneAnonResourceBase struct { SResourceBase // 资源UUID - Id string `width:"128" charset:"ascii" primary:"true" list:"user" json:"id"` + Id string `width:"128" charset:"ascii" primary:"true" list:"user" create:"optional" json:"id"` // 资源描述信息 Description string `width:"256" charset:"utf8" get:"user" list:"user" update:"user" create:"optional" json:"description"`