From d5cc77e19dcb669f29e26722cf3ff310ee87ce82 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Fri, 29 Nov 2024 15:08:04 +0800 Subject: [PATCH] update --- src/model/fin_withdraw_setting.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/model/fin_withdraw_setting.go b/src/model/fin_withdraw_setting.go index 109d9ac..f620e26 100644 --- a/src/model/fin_withdraw_setting.go +++ b/src/model/fin_withdraw_setting.go @@ -11,9 +11,10 @@ type FinWithdrawSetting struct { WithdrawMultipleLimit string `json:"withdraw_multiple_limit" xorm:"not null comment('提现倍数限制(0为不限制,金额限制倍数才可以申请提现 )') DECIMAL(10,2)"` IsSupportDecimalPoint int `json:"is_support_decimal_point" xorm:"not null default 0 comment('是否支持小数点(0:否 1:是)') TINYINT(1)"` IsAuto int `json:"is_auto" xorm:"not null default 0 comment('是否开启自动提现(0:否 1:是)') TINYINT(1)"` - IsAutoAmountLimit string `json:"is_auto_amount_limit" xorm:"not null comment('自动提现金额限制') DECIMAL(10,2)"` + IsAutoAmountLimit string `json:"is_auto_amount_limit" xorm:"not null default 0.00 comment('自动提现金额限制') DECIMAL(10,2)"` WithdrawTimeInterval string `json:"withdraw_time_interval" xorm:"not null default '' comment('提现时段') VARCHAR(255)"` - WithdrawFeeSet string `json:"withdraw_fee_set" xorm:"comment('提现手续费设置') TEXT"` + WithdrawFeeSet string `json:"withdraw_fee_set" xorm:"not null comment('提现手续费设置') TEXT"` + FirstWithdrawSet string `json:"first_withdraw_set" xorm:"not null comment('首次提现设置') TEXT"` CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('申请时间') TIMESTAMP"` UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('处理时间') TIMESTAMP"` }