From 5cc6ddc8f12ffe4926bdc0edf00d86a2383a429f Mon Sep 17 00:00:00 2001 From: mklee Date: Thu, 31 Aug 2023 11:55:31 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=9D=B4=EB=AF=BC=EC=9A=B0]=20=EC=BA=90?= =?UTF-8?q?=EB=A6=AD=ED=84=B0=20=EC=83=9D=EC=84=B1=20=EC=A0=9C=ED=95=9C=20?= =?UTF-8?q?=EA=B5=AC=ED=98=84=20(=EB=8C=80=EC=8B=A0=20=EC=BB=A4=EB=B0=8B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/maingate.go | 3 ++- core/service.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/maingate.go b/core/maingate.go index bb0f0e9..7153009 100644 --- a/core/maingate.go +++ b/core/maingate.go @@ -478,7 +478,8 @@ func (mg *Maingate) RegisterHandlers(ctx context.Context, serveMux *http.ServeMu State: DivisionState_FullOpen, }, - Url: fmt.Sprintf("http://%s/warehouse", ipaddr), + LockCreateChar: false, + Url: fmt.Sprintf("http://%s/warehouse", ipaddr), }, } } diff --git a/core/service.go b/core/service.go index fd8f090..7197789 100644 --- a/core/service.go +++ b/core/service.go @@ -96,6 +96,7 @@ type DivisionForUser struct { type Division struct { DivisionForUser `bson:",inline" json:",inline"` Url string `bson:"url" json:"url"` + LockCreateChar bool `bson:"lockcreatechar" json:"lockcreatechar"` } type ServiceDescriptionSummary struct {