From f7f92494c0f47450b5d62f55620db56ae5882314 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 17 Oct 2024 09:13:52 +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/service_award_return_base.go | 33 +++++++++++++++---------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/src/models/service_award_return_base.go b/src/models/service_award_return_base.go index c293838..c3fc96a 100644 --- a/src/models/service_award_return_base.go +++ b/src/models/service_award_return_base.go @@ -3,17 +3,24 @@ 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 time.Time `json:"auto_date" xorm:"DATETIME"` - HandDate time.Time `json:"hand_date" xorm:"DATETIME"` - CoinId int `json:"coin_id" xorm:"default 0 INT(11)"` - IsEnd int `json:"is_end" xorm:"default 0 INT(11)"` - Bili string `json:"bili" xorm:"decimal(20,2)"` + 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"` + CoinId int `json:"coin_id" xorm:"default 0 INT(11)"` + IsEnd int `json:"is_end" xorm:"default 0 INT(11)"` + Bili string `json:"bili" xorm:"decimal(20,2)"` + MallBili string `json:"mall_bili" xorm:"decimal(20,2)"` + HandCpsPeriod int `json:"hand_cps_period" xorm:"default 0 INT(11)"` + HandMallPeriod int `json:"hand_mall_period" xorm:"default 0 INT(11)"` + HandMemberUplvPeriod int `json:"hand_member_uplv_period" xorm:"INT(11)"` + HandNewMemberPeriod int `json:"hand_new_member_period" xorm:"default 0 INT(11)"` + HandBili string `json:"hand_bili" xorm:"decimal(20,2)"` + HandMallBili string `json:"hand_mall_bili" xorm:"decimal(20,2)"` }