Browse Source

更新

master
huangjiajun 2 months ago
parent
commit
81a68b4b99
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      app/hdl/hdl_data_center_generate_data.go

+ 6
- 0
app/hdl/hdl_data_center_generate_data.go View File

@@ -5,6 +5,7 @@ import (
"applet/app/lib/validate"
"applet/app/md"
"applet/app/svc"
"fmt"
"github.com/gin-gonic/gin"
)

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


Loading…
Cancel
Save