|
|
@@ -84,11 +84,13 @@ func GetWithdrawSetting(c *gin.Context) { |
|
|
|
WithdrawMultipleLimit: "", |
|
|
|
IsSupportDecimalPoint: 0, |
|
|
|
IsAuto: 0, |
|
|
|
IsAutoAmountLimit: "", |
|
|
|
WithdrawTimeInterval: "00:00-00:00", |
|
|
|
WithdrawFeeSet: withdrawFeeSetStr, |
|
|
|
PendingOrdersIsCanApply: 0, |
|
|
|
ConditionIsOpen: 0, |
|
|
|
FirstWithdrawSet: firstWithdrawSetStr, |
|
|
|
Tips: "", |
|
|
|
CreateAt: now.Format("2006-01-02 15:04:05"), |
|
|
|
} |
|
|
|
_, err2 := settingDb.FinWithdrawSettingInsert(&m) |
|
|
@@ -132,6 +134,7 @@ func GetWithdrawSetting(c *gin.Context) { |
|
|
|
PendingOrdersIsCanApply: setting.PendingOrdersIsCanApply, |
|
|
|
ConditionIsOpen: setting.ConditionIsOpen, |
|
|
|
LevelList: levelsList, |
|
|
|
Tips: setting.Tips, |
|
|
|
} |
|
|
|
|
|
|
|
e.OutSuc(c, resp, nil) |
|
|
@@ -199,6 +202,7 @@ func UpdateWithdrawSetting(c *gin.Context) { |
|
|
|
PendingOrdersIsCanApply: req.PendingOrdersIsCanApply, |
|
|
|
ConditionIsOpen: req.ConditionIsOpen, |
|
|
|
FirstWithdrawSet: firstWithdrawSetStr, |
|
|
|
Tips: req.Tips, |
|
|
|
} |
|
|
|
|
|
|
|
forceColumns := []string{"withdraw_type", "is_real_name", "withdraw_nums_limit", |
|
|
|