Browse Source

update

master
dengbiao 2 months ago
parent
commit
5c971f2056
2 changed files with 6 additions and 6 deletions
  1. +5
    -5
      app/hdl/hdl_data_center_generate_data.go
  2. +1
    -1
      go.mod

+ 5
- 5
app/hdl/hdl_data_center_generate_data.go View File

@@ -127,13 +127,13 @@ func GenerateDataDoing(c *gin.Context) {
e.OutErr(c, err1.Code, err1.Error())
return
}
res := svc.DataCenterGenerateDataDoing(c, req)
if res != nil {
fmt.Println(res.Error())
e.OutErr(c, 400, e.NewErr(400, "生成失败"))
err = svc.DataCenterGenerateDataDoing(c, req)
if err != nil {
fmt.Println(err.Error())
e.OutErr(c, e.ERR, err.Error())
return
}
e.OutSuc(c, res, nil)
e.OutSuc(c, "success", nil)
return
}



+ 1
- 1
go.mod View File

@@ -36,7 +36,7 @@ require (
require (
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5
code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git v1.1.21-0.20240830072333-a1980ffb256e
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20241009083704-f83998f16847
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20241009095023-24f5079bb959
github.com/jinzhu/copier v0.4.0
)



Loading…
Cancel
Save