From 27f68024517d4ae2f2922eb821c406c1cf9cf7dc Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 5 Nov 2024 18:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/yibao_merchant.go | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/models/yibao_merchant.go b/src/models/yibao_merchant.go index 784106d..cb765cc 100644 --- a/src/models/yibao_merchant.go +++ b/src/models/yibao_merchant.go @@ -5,16 +5,19 @@ import ( ) type YibaoMerchant struct { - Id int `json:"id" xorm:"not null pk autoincr INT(11)"` - RequestNo string `json:"request_no" xorm:"VARCHAR(255)"` - MerchantNo string `json:"merchant_no" xorm:"VARCHAR(255)"` - State string `json:"state" xorm:"VARCHAR(255)"` - ApplicationNo string `json:"application_no" xorm:"VARCHAR(255)"` - CreateTime time.Time `json:"create_time" xorm:"DATETIME"` - UpdateTime time.Time `json:"update_time" xorm:"DATETIME"` - StoreId int `json:"store_id" xorm:"default 0 INT(11)"` - Platform string `json:"platform" xorm:"default '' comment('official官方 o2o b2c ') VARCHAR(255)"` - Data string `json:"data" xorm:"TEXT"` - ErrMsg string `json:"err_msg" xorm:"VARCHAR(5000)"` - Type string `json:"type" xorm:"comment('platform平台商 store入驻商家') VARCHAR(255)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + RequestNo string `json:"request_no" xorm:"VARCHAR(255)"` + MerchantNo string `json:"merchant_no" xorm:"VARCHAR(255)"` + State string `json:"state" xorm:"VARCHAR(255)"` + ApplicationNo string `json:"application_no" xorm:"VARCHAR(255)"` + CreateTime time.Time `json:"create_time" xorm:"DATETIME"` + UpdateTime time.Time `json:"update_time" xorm:"DATETIME"` + StoreId int `json:"store_id" xorm:"default 0 INT(11)"` + Platform string `json:"platform" xorm:"default '' comment('official官方 o2o b2c ') VARCHAR(255)"` + Data string `json:"data" xorm:"TEXT"` + ErrMsg string `json:"err_msg" xorm:"VARCHAR(5000)"` + Type string `json:"type" xorm:"comment('入驻类型') VARCHAR(255)"` + ElecSignUrl string `json:"elec_sign_url" xorm:"VARCHAR(2000)"` + AuditOpinion string `json:"audit_opinion" xorm:"VARCHAR(255)"` + ProgressDescription string `json:"progress_description" xorm:"VARCHAR(255)"` }