Browse Source

update

master
shenjiachi 1 month ago
parent
commit
9cc704c93e
5 changed files with 147 additions and 18 deletions
  1. +1
    -1
      app/router/router.go
  2. +55
    -5
      docs/docs.go
  3. +55
    -5
      docs/swagger.json
  4. +32
    -5
      docs/swagger.yaml
  5. +4
    -2
      go.mod

+ 1
- 1
app/router/router.go View File

@@ -322,7 +322,7 @@ func rFinancialCenter(r *gin.RouterGroup) {
{
rWithdraw.GET("/setting", financial_center.GetWithdrawSetting)
rWithdraw.POST("/updateWithdrawSetting", financial_center.UpdateWithdrawSetting)
rWithdraw.GET("/applyList", financial_center.GetWithdrawApplyList)
rWithdraw.POST("/applyList", financial_center.GetWithdrawApplyList)
}
}



+ 55
- 5
docs/docs.go View File

@@ -7306,6 +7306,13 @@ const docTemplate = `{
"md.ArticleListResp": {
"type": "object",
"properties": {
"cate_data": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"list": {
"type": "array",
"items": {
@@ -7757,6 +7764,9 @@ const docTemplate = `{
"md.CloudBundleVersionMap": {
"type": "object",
"properties": {
"img": {
"type": "string"
},
"name": {
"type": "string"
},
@@ -9215,7 +9225,11 @@ const docTemplate = `{
},
"withdraw_fee_set": {
"description": "提现手续费设置",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/md.WithdrawFeeSetStruct"
}
]
},
"withdraw_multiple_limit": {
"description": "提现倍数限制(0为不限制,金额限制倍数才可以申请提现 )",
@@ -9227,7 +9241,11 @@ const docTemplate = `{
},
"withdraw_time_interval": {
"description": "提现时段",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/md.WithdrawTimeIntervalStruct"
}
]
},
"withdraw_type": {
"description": "提现方式(1:支付宝 2:微信)",
@@ -11106,7 +11124,11 @@ const docTemplate = `{
},
"withdraw_fee_set": {
"description": "提现手续费设置",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/md.WithdrawFeeSetStruct"
}
]
},
"withdraw_multiple_limit": {
"description": "提现倍数限制(0为不限制,金额限制倍数才可以申请提现 )",
@@ -11117,8 +11139,12 @@ const docTemplate = `{
"type": "integer"
},
"withdraw_time_interval": {
"description": "提现时段",
"type": "string"
"description": "提现时段(startAt xx:xx endAt xx:xx)",
"allOf": [
{
"$ref": "#/definitions/md.WithdrawTimeIntervalStruct"
}
]
},
"withdraw_type": {
"description": "提现方式(1:支付宝 2:微信)",
@@ -12238,6 +12264,19 @@ const docTemplate = `{
}
}
},
"md.WithdrawFeeSetStruct": {
"type": "object",
"properties": {
"duration": {
"description": "类型 (1.固定金额 2.固定比例)",
"type": "integer"
},
"value": {
"description": "具体值",
"type": "integer"
}
}
},
"md.WithdrawFrequencySettingStruct": {
"type": "object",
"properties": {
@@ -12254,6 +12293,17 @@ const docTemplate = `{
}
}
},
"md.WithdrawTimeIntervalStruct": {
"type": "object",
"properties": {
"end_at": {
"type": "string"
},
"start_at": {
"type": "string"
}
}
},
"model.EggEnergyUserEggIndexWeight": {
"type": "object",
"properties": {


+ 55
- 5
docs/swagger.json View File

@@ -7299,6 +7299,13 @@
"md.ArticleListResp": {
"type": "object",
"properties": {
"cate_data": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"list": {
"type": "array",
"items": {
@@ -7750,6 +7757,9 @@
"md.CloudBundleVersionMap": {
"type": "object",
"properties": {
"img": {
"type": "string"
},
"name": {
"type": "string"
},
@@ -9208,7 +9218,11 @@
},
"withdraw_fee_set": {
"description": "提现手续费设置",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/md.WithdrawFeeSetStruct"
}
]
},
"withdraw_multiple_limit": {
"description": "提现倍数限制(0为不限制,金额限制倍数才可以申请提现 )",
@@ -9220,7 +9234,11 @@
},
"withdraw_time_interval": {
"description": "提现时段",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/md.WithdrawTimeIntervalStruct"
}
]
},
"withdraw_type": {
"description": "提现方式(1:支付宝 2:微信)",
@@ -11099,7 +11117,11 @@
},
"withdraw_fee_set": {
"description": "提现手续费设置",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/md.WithdrawFeeSetStruct"
}
]
},
"withdraw_multiple_limit": {
"description": "提现倍数限制(0为不限制,金额限制倍数才可以申请提现 )",
@@ -11110,8 +11132,12 @@
"type": "integer"
},
"withdraw_time_interval": {
"description": "提现时段",
"type": "string"
"description": "提现时段(startAt xx:xx endAt xx:xx)",
"allOf": [
{
"$ref": "#/definitions/md.WithdrawTimeIntervalStruct"
}
]
},
"withdraw_type": {
"description": "提现方式(1:支付宝 2:微信)",
@@ -12231,6 +12257,19 @@
}
}
},
"md.WithdrawFeeSetStruct": {
"type": "object",
"properties": {
"duration": {
"description": "类型 (1.固定金额 2.固定比例)",
"type": "integer"
},
"value": {
"description": "具体值",
"type": "integer"
}
}
},
"md.WithdrawFrequencySettingStruct": {
"type": "object",
"properties": {
@@ -12247,6 +12286,17 @@
}
}
},
"md.WithdrawTimeIntervalStruct": {
"type": "object",
"properties": {
"end_at": {
"type": "string"
},
"start_at": {
"type": "string"
}
}
},
"model.EggEnergyUserEggIndexWeight": {
"type": "object",
"properties": {


+ 32
- 5
docs/swagger.yaml View File

@@ -670,6 +670,11 @@ definitions:
type: object
md.ArticleListResp:
properties:
cate_data:
items:
additionalProperties: true
type: object
type: array
list:
items:
$ref: '#/definitions/md.ArticleList'
@@ -978,6 +983,8 @@ definitions:
type: object
md.CloudBundleVersionMap:
properties:
img:
type: string
name:
type: string
type:
@@ -1990,8 +1997,9 @@ definitions:
description: 提现金额限制(0为不限制,大于等于该金额才可以申请提现 )
type: string
withdraw_fee_set:
allOf:
- $ref: '#/definitions/md.WithdrawFeeSetStruct'
description: 提现手续费设置
type: string
withdraw_multiple_limit:
description: 提现倍数限制(0为不限制,金额限制倍数才可以申请提现 )
type: string
@@ -1999,8 +2007,9 @@ definitions:
description: 提现次数限制(对应上方设置周期,0为不限制,失败、驳回不计数 )
type: integer
withdraw_time_interval:
allOf:
- $ref: '#/definitions/md.WithdrawTimeIntervalStruct'
description: 提现时段
type: string
withdraw_type:
description: 提现方式(1:支付宝 2:微信)
type: integer
@@ -3313,8 +3322,9 @@ definitions:
description: 提现金额限制(0为不限制,大于等于该金额才可以申请提现 )
type: string
withdraw_fee_set:
allOf:
- $ref: '#/definitions/md.WithdrawFeeSetStruct'
description: 提现手续费设置
type: string
withdraw_multiple_limit:
description: 提现倍数限制(0为不限制,金额限制倍数才可以申请提现 )
type: string
@@ -3322,8 +3332,9 @@ definitions:
description: 提现次数限制(对应上方设置周期,0为不限制,失败、驳回不计数 )
type: integer
withdraw_time_interval:
description: 提现时段
type: string
allOf:
- $ref: '#/definitions/md.WithdrawTimeIntervalStruct'
description: 提现时段(startAt xx:xx endAt xx:xx)
withdraw_type:
description: 提现方式(1:支付宝 2:微信)
type: integer
@@ -4107,6 +4118,15 @@ definitions:
example: 货币类型名称
type: string
type: object
md.WithdrawFeeSetStruct:
properties:
duration:
description: 类型 (1.固定金额 2.固定比例)
type: integer
value:
description: 具体值
type: integer
type: object
md.WithdrawFrequencySettingStruct:
properties:
duration:
@@ -4118,6 +4138,13 @@ definitions:
type: string
type: array
type: object
md.WithdrawTimeIntervalStruct:
properties:
end_at:
type: string
start_at:
type: string
type: object
model.EggEnergyUserEggIndexWeight:
properties:
account_balance_exchange_egg_energy_nums:


+ 4
- 2
go.mod View File

@@ -1,6 +1,8 @@
module applet

go 1.19
go 1.21

toolchain go1.21.13

// replace code.fnuoos.com/EggPlanet/egg_models.git => E:/company/Egg/egg_models

@@ -33,7 +35,7 @@ require (

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241128102555-fc839292d728
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241128115447-7e6ca58dd32a
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241129035757-6f22c03e842e
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
github.com/360EntSecGroup-Skylar/excelize v1.4.1


Loading…
Cancel
Save