Browse Source

实名认证

master
huangjiajun 1 month ago
parent
commit
24c0bf3c23
5 changed files with 13 additions and 0 deletions
  1. +1
    -0
      app/md/md_user_real_name.go
  2. +1
    -0
      app/svc/user_real_name/svc_base.go
  3. +4
    -0
      docs/docs.go
  4. +4
    -0
      docs/swagger.json
  5. +3
    -0
      docs/swagger.yaml

+ 1
- 0
app/md/md_user_real_name.go View File

@@ -30,4 +30,5 @@ type UserRealNameSaveReq struct {

type UserRealNameBaseResp struct {
UserRealNameMoney string `json:"user_real_name_money" example:"实名认证费用" `
UserRealNameRule string `json:"user_real_name_rule" example:"实名认证说明" `
}

+ 1
- 0
app/svc/user_real_name/svc_base.go View File

@@ -26,6 +26,7 @@ func BaseSave(c *gin.Context) {
conn := cache.GetPool().Get()
cfgDb := implement.NewSysCfgDb(db.Db, conn)
cfgDb.SysCfgUpdate("user_real_name_money", req.UserRealNameMoney)
cfgDb.SysCfgUpdate("user_real_name_rule", req.UserRealNameRule)
e.OutSuc(c, "success", nil)
return
}

+ 4
- 0
docs/docs.go View File

@@ -12303,6 +12303,10 @@ const docTemplate = `{
"user_real_name_money": {
"type": "string",
"example": "实名认证费用"
},
"user_real_name_rule": {
"type": "string",
"example": "实名认证说明"
}
}
},


+ 4
- 0
docs/swagger.json View File

@@ -12295,6 +12295,10 @@
"user_real_name_money": {
"type": "string",
"example": "实名认证费用"
},
"user_real_name_rule": {
"type": "string",
"example": "实名认证说明"
}
}
},


+ 3
- 0
docs/swagger.yaml View File

@@ -4017,6 +4017,9 @@ definitions:
user_real_name_money:
example: 实名认证费用
type: string
user_real_name_rule:
example: 实名认证说明
type: string
type: object
md.UserRealNameReq:
properties:


Loading…
Cancel
Save