From 97c86473573437580c78fbab244cf8aa9e84435d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 16 Aug 2024 14:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E9=87=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/service_award_return_base.go | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/models/service_award_return_base.go b/src/models/service_award_return_base.go index f1c7049..1eed3f8 100644 --- a/src/models/service_award_return_base.go +++ b/src/models/service_award_return_base.go @@ -1,14 +1,16 @@ package models +import "time" + type ServiceAwardReturnBase struct { - Id int `json:"id" xorm:"not null pk autoincr INT(11)"` - TimeType int `json:"time_type" xorm:"default 0 comment('0.每月统一返还(要选择哪一天) 1.按赠送购物金的具体时间每月返还') INT(1)"` - Day string `json:"day" xorm:"VARCHAR(255)"` - ReturnType int `json:"return_type" xorm:"default 0 comment('0系统分期返还方式, 1手动设置返还方式') INT(1)"` - CpsPeriod int `json:"cps_period" xorm:"default 0 INT(11)"` - MallPeriod int `json:"mall_period" xorm:"default 0 INT(11)"` - MemberUplvPeriod int `json:"member_uplv_period" xorm:"INT(11)"` - NewMemberPeriod int `json:"new_member_period" xorm:"default 0 INT(11)"` - AutoDate int `json:"auto_date" xorm:"default 0 INT(11)"` - HandDate int `json:"hand_date" xorm:"default 0 INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + TimeType int `json:"time_type" xorm:"default 0 comment('0.每月统一返还(要选择哪一天) 1.按赠送购物金的具体时间每月返还') INT(1)"` + Day string `json:"day" xorm:"VARCHAR(255)"` + ReturnType int `json:"return_type" xorm:"default 0 comment('0系统分期返还方式, 1手动设置返还方式') INT(1)"` + CpsPeriod int `json:"cps_period" xorm:"default 0 INT(11)"` + MallPeriod int `json:"mall_period" xorm:"default 0 INT(11)"` + MemberUplvPeriod int `json:"member_uplv_period" xorm:"INT(11)"` + NewMemberPeriod int `json:"new_member_period" xorm:"default 0 INT(11)"` + AutoDate time.Time `json:"auto_date" xorm:"DATETIME"` + HandDate time.Time `json:"hand_date" xorm:"DATETIME"` }