|
|
@@ -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 |
|
|
|
} |
|
|
|