From 4ba1cc3c41a0b1cd376cc059fd254e89c72ed93f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 19 Feb 2020 14:46:58 +0800 Subject: [PATCH] =?UTF-8?q?newconfig=E6=96=B0=E5=A2=9E=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/new_config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/model/new_config.go b/business/model/new_config.go index a3805bac0..4dd3f2a43 100644 --- a/business/model/new_config.go +++ b/business/model/new_config.go @@ -6,6 +6,7 @@ const ( ConfigTypeFreightPack = "FreightPack" ConfigTypeBank = "Bank" ConfigTypeRole = "Role" + ConfigTypeJxStore = "JxStore" ) const ( @@ -22,6 +23,7 @@ var ( ConfigTypeFreightPack: "免运包", ConfigTypeBank: "银行", ConfigTypeRole: "角色", + ConfigTypeJxStore: "京西商城", } ) @@ -30,7 +32,7 @@ type NewConfig struct { Type string `orm:"size(16)" json:"type"` Key string `orm:"size(32)" json:"key"` - Value string `orm:"size(4096)" json:"value"` + Value string `orm:"size(9999)" json:"value"` } func (*NewConfig) TableUnique() [][]string {