From b680112fdb8218da4a80c771d76360e79eab240b Mon Sep 17 00:00:00 2001 From: hoteas Date: Thu, 20 Oct 2022 15:49:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/makecode.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/makecode.go b/code/makecode.go index 1a01a05..19fba8d 100644 --- a/code/makecode.go +++ b/code/makecode.go @@ -728,12 +728,12 @@ func (that *MakeCode) Add(table string, user Map, req *http.Request) Map { continue } - if user[v.GetString("name")] != nil { - - data[v.GetString("name")] = user[v.GetString("name")] - continue - - } + //if user[v.GetString("name")] != nil { + // + // data[v.GetString("name")] = user[v.GetString("name")] + // continue + // + //} if v.GetBool("must") { return nil