Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
5238e386d3
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      app/svc/svc_agent_qualification.go
  2. +2
    -2
      app/svc/svc_medium_qualification.go

+ 2
- 2
app/svc/svc_agent_qualification.go View File

@@ -180,7 +180,7 @@ func AgentQualificationBankAudit(c *gin.Context, req md.AgentQualificationEnterp
if data == nil { if data == nil {
return e.NewErr(400, "记录不存在") return e.NewErr(400, "记录不存在")
} }
if data.State == 1 {
if data.State == 2 {
return e.NewErr(400, "记录已审核过") return e.NewErr(400, "记录已审核过")
} }
data.State = utils.StrToInt(req.State) data.State = utils.StrToInt(req.State)
@@ -245,7 +245,7 @@ func AgentQualificationContactInfoAudit(c *gin.Context, req md.AgentQualificatio
if data == nil { if data == nil {
return e.NewErr(400, "记录不存在") return e.NewErr(400, "记录不存在")
} }
if data.State == 1 {
if data.State == 2 {
return e.NewErr(400, "记录已审核过") return e.NewErr(400, "记录已审核过")
} }
data.State = utils.StrToInt(req.State) data.State = utils.StrToInt(req.State)


+ 2
- 2
app/svc/svc_medium_qualification.go View File

@@ -162,7 +162,7 @@ func MediumQualificationBankAudit(c *gin.Context, req md.MediumQualificationEnte
if data == nil { if data == nil {
return e.NewErr(400, "记录不存在") return e.NewErr(400, "记录不存在")
} }
if data.State == 1 {
if data.State == 2 {
return e.NewErr(400, "记录已审核过") return e.NewErr(400, "记录已审核过")
} }
data.State = utils.StrToInt(req.State) data.State = utils.StrToInt(req.State)
@@ -227,7 +227,7 @@ func MediumQualificationContactInfoAudit(c *gin.Context, req md.MediumQualificat
if data == nil { if data == nil {
return e.NewErr(400, "记录不存在") return e.NewErr(400, "记录不存在")
} }
if data.State == 1 {
if data.State == 2 {
return e.NewErr(400, "记录已审核过") return e.NewErr(400, "记录已审核过")
} }
data.State = utils.StrToInt(req.State) data.State = utils.StrToInt(req.State)


Loading…
Cancel
Save