@@ -84,11 +84,13 @@ func GetWithdrawSetting(c *gin.Context) { | |||||
WithdrawMultipleLimit: "", | WithdrawMultipleLimit: "", | ||||
IsSupportDecimalPoint: 0, | IsSupportDecimalPoint: 0, | ||||
IsAuto: 0, | IsAuto: 0, | ||||
IsAutoAmountLimit: "", | |||||
WithdrawTimeInterval: "00:00-00:00", | WithdrawTimeInterval: "00:00-00:00", | ||||
WithdrawFeeSet: withdrawFeeSetStr, | WithdrawFeeSet: withdrawFeeSetStr, | ||||
PendingOrdersIsCanApply: 0, | PendingOrdersIsCanApply: 0, | ||||
ConditionIsOpen: 0, | ConditionIsOpen: 0, | ||||
FirstWithdrawSet: firstWithdrawSetStr, | FirstWithdrawSet: firstWithdrawSetStr, | ||||
Tips: "", | |||||
CreateAt: now.Format("2006-01-02 15:04:05"), | CreateAt: now.Format("2006-01-02 15:04:05"), | ||||
} | } | ||||
_, err2 := settingDb.FinWithdrawSettingInsert(&m) | _, err2 := settingDb.FinWithdrawSettingInsert(&m) | ||||
@@ -132,6 +134,7 @@ func GetWithdrawSetting(c *gin.Context) { | |||||
PendingOrdersIsCanApply: setting.PendingOrdersIsCanApply, | PendingOrdersIsCanApply: setting.PendingOrdersIsCanApply, | ||||
ConditionIsOpen: setting.ConditionIsOpen, | ConditionIsOpen: setting.ConditionIsOpen, | ||||
LevelList: levelsList, | LevelList: levelsList, | ||||
Tips: setting.Tips, | |||||
} | } | ||||
e.OutSuc(c, resp, nil) | e.OutSuc(c, resp, nil) | ||||
@@ -199,6 +202,7 @@ func UpdateWithdrawSetting(c *gin.Context) { | |||||
PendingOrdersIsCanApply: req.PendingOrdersIsCanApply, | PendingOrdersIsCanApply: req.PendingOrdersIsCanApply, | ||||
ConditionIsOpen: req.ConditionIsOpen, | ConditionIsOpen: req.ConditionIsOpen, | ||||
FirstWithdrawSet: firstWithdrawSetStr, | FirstWithdrawSet: firstWithdrawSetStr, | ||||
Tips: req.Tips, | |||||
} | } | ||||
forceColumns := []string{"withdraw_type", "is_real_name", "withdraw_nums_limit", | forceColumns := []string{"withdraw_type", "is_real_name", "withdraw_nums_limit", | ||||
@@ -28,6 +28,7 @@ type GetWithdrawSettingResp struct { | |||||
PendingOrdersIsCanApply int `json:"pending_orders_is_can_apply"` // 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) | PendingOrdersIsCanApply int `json:"pending_orders_is_can_apply"` // 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) | ||||
ConditionIsOpen int `json:"condition_is_open"` // 提现条件是否开启(0:关闭, 1:开启) | ConditionIsOpen int `json:"condition_is_open"` // 提现条件是否开启(0:关闭, 1:开启) | ||||
LevelList []map[string]interface{} `json:"level_list"` // 会员等级列表 | LevelList []map[string]interface{} `json:"level_list"` // 会员等级列表 | ||||
Tips string `json:"tips"` // 提示 | |||||
} | } | ||||
type UpdateWithdrawSettingReq struct { | type UpdateWithdrawSettingReq struct { | ||||
@@ -47,6 +48,7 @@ type UpdateWithdrawSettingReq struct { | |||||
FirstWithdrawSet md.FirstWithdrawSet `json:"first_withdraw_set"` // 首次提现设置 | FirstWithdrawSet md.FirstWithdrawSet `json:"first_withdraw_set"` // 首次提现设置 | ||||
PendingOrdersIsCanApply int `json:"pending_orders_is_can_apply"` // 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) | PendingOrdersIsCanApply int `json:"pending_orders_is_can_apply"` // 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) | ||||
ConditionIsOpen int `json:"condition_is_open"` // 提现条件是否开启(0:关闭, 1:开启) | ConditionIsOpen int `json:"condition_is_open"` // 提现条件是否开启(0:关闭, 1:开启) | ||||
Tips string `json:"tips"` // 提示 | |||||
} | } | ||||
type GetWithdrawApplyListReq struct { | type GetWithdrawApplyListReq struct { | ||||
Uid string `json:"uid"` // 用户 ID | Uid string `json:"uid"` // 用户 ID | ||||
@@ -12480,6 +12480,10 @@ const docTemplate = `{ | |||||
"description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", | "description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", | ||||
"type": "integer" | "type": "integer" | ||||
}, | }, | ||||
"tips": { | |||||
"description": "提示", | |||||
"type": "string" | |||||
}, | |||||
"vip_level_limit": { | "vip_level_limit": { | ||||
"description": "提现等级限制", | "description": "提现等级限制", | ||||
"type": "integer" | "type": "integer" | ||||
@@ -14767,6 +14771,10 @@ const docTemplate = `{ | |||||
"description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", | "description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", | ||||
"type": "integer" | "type": "integer" | ||||
}, | }, | ||||
"tips": { | |||||
"description": "提示", | |||||
"type": "string" | |||||
}, | |||||
"vip_level_limit": { | "vip_level_limit": { | ||||
"description": "提现等级限制", | "description": "提现等级限制", | ||||
"type": "integer" | "type": "integer" | ||||
@@ -12473,6 +12473,10 @@ | |||||
"description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", | "description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", | ||||
"type": "integer" | "type": "integer" | ||||
}, | }, | ||||
"tips": { | |||||
"description": "提示", | |||||
"type": "string" | |||||
}, | |||||
"vip_level_limit": { | "vip_level_limit": { | ||||
"description": "提现等级限制", | "description": "提现等级限制", | ||||
"type": "integer" | "type": "integer" | ||||
@@ -14760,6 +14764,10 @@ | |||||
"description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", | "description": "存在待处理记录是否允许再次申请提现(0:禁止,1:允许)", | ||||
"type": "integer" | "type": "integer" | ||||
}, | }, | ||||
"tips": { | |||||
"description": "提示", | |||||
"type": "string" | |||||
}, | |||||
"vip_level_limit": { | "vip_level_limit": { | ||||
"description": "提现等级限制", | "description": "提现等级限制", | ||||
"type": "integer" | "type": "integer" | ||||
@@ -2483,6 +2483,9 @@ definitions: | |||||
pending_orders_is_can_apply: | pending_orders_is_can_apply: | ||||
description: 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) | description: 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) | ||||
type: integer | type: integer | ||||
tips: | |||||
description: 提示 | |||||
type: string | |||||
vip_level_limit: | vip_level_limit: | ||||
description: 提现等级限制 | description: 提现等级限制 | ||||
type: integer | type: integer | ||||
@@ -4077,6 +4080,9 @@ definitions: | |||||
pending_orders_is_can_apply: | pending_orders_is_can_apply: | ||||
description: 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) | description: 存在待处理记录是否允许再次申请提现(0:禁止,1:允许) | ||||
type: integer | type: integer | ||||
tips: | |||||
description: 提示 | |||||
type: string | |||||
vip_level_limit: | vip_level_limit: | ||||
description: 提现等级限制 | description: 提现等级限制 | ||||
type: integer | type: integer | ||||
@@ -33,7 +33,7 @@ require ( | |||||
) | ) | ||||
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/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_es.git v1.0.1-0.20241118083738-0f22da9ba0be | ||||
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 | code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 | ||||