diff --git a/app/hdl/financial_center/hdl_withdraw.go b/app/hdl/financial_center/hdl_withdraw.go index 0b6dc93..1f6ebc1 100644 --- a/app/hdl/financial_center/hdl_withdraw.go +++ b/app/hdl/financial_center/hdl_withdraw.go @@ -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", diff --git a/app/md/financial_center/md_withdraw.go b/app/md/financial_center/md_withdraw.go index 5024441..3191946 100644 --- a/app/md/financial_center/md_withdraw.go +++ b/app/md/financial_center/md_withdraw.go @@ -28,6 +28,7 @@ type GetWithdrawSettingResp struct { PendingOrdersIsCanApply int `json:"pending_orders_is_can_apply"` // 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) ConditionIsOpen int `json:"condition_is_open"` // 提现条件是否开启(0:关闭, 1:开启) LevelList []map[string]interface{} `json:"level_list"` // 会员等级列表 + Tips string `json:"tips"` // 提示 } type UpdateWithdrawSettingReq struct { @@ -47,6 +48,7 @@ type UpdateWithdrawSettingReq struct { FirstWithdrawSet md.FirstWithdrawSet `json:"first_withdraw_set"` // 首次提现设置 PendingOrdersIsCanApply int `json:"pending_orders_is_can_apply"` // 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) ConditionIsOpen int `json:"condition_is_open"` // 提现条件是否开启(0:关闭, 1:开启) + Tips string `json:"tips"` // 提示 } type GetWithdrawApplyListReq struct { Uid string `json:"uid"` // 用户 ID diff --git a/docs/docs.go b/docs/docs.go index 25d78fb..c43d1ff 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -12480,6 +12480,10 @@ const docTemplate = `{ "description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", "type": "integer" }, + "tips": { + "description": "提示", + "type": "string" + }, "vip_level_limit": { "description": "提现等级限制", "type": "integer" @@ -14767,6 +14771,10 @@ const docTemplate = `{ "description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", "type": "integer" }, + "tips": { + "description": "提示", + "type": "string" + }, "vip_level_limit": { "description": "提现等级限制", "type": "integer" diff --git a/docs/swagger.json b/docs/swagger.json index c49c3cd..900d55a 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -12473,6 +12473,10 @@ "description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", "type": "integer" }, + "tips": { + "description": "提示", + "type": "string" + }, "vip_level_limit": { "description": "提现等级限制", "type": "integer" @@ -14760,6 +14764,10 @@ "description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", "type": "integer" }, + "tips": { + "description": "提示", + "type": "string" + }, "vip_level_limit": { "description": "提现等级限制", "type": "integer" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index c49365c..abc491c 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -2483,6 +2483,9 @@ definitions: pending_orders_is_can_apply: description: 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) type: integer + tips: + description: 提示 + type: string vip_level_limit: description: 提现等级限制 type: integer @@ -4077,6 +4080,9 @@ definitions: pending_orders_is_can_apply: description: 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) type: integer + tips: + description: 提示 + type: string vip_level_limit: description: 提现等级限制 type: integer diff --git a/go.mod b/go.mod index 9da22b9..aaaa63e 100644 --- a/go.mod +++ b/go.mod @@ -33,7 +33,7 @@ require ( ) require ( - code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241211055111-7c47b67b46d2 + code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241211070238-446e2e250e20 code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241205075006-9c0bf995c788 code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5