|
@@ -5,6 +5,7 @@ import ( |
|
|
"applet/app/lib/validate" |
|
|
"applet/app/lib/validate" |
|
|
"applet/app/md" |
|
|
"applet/app/md" |
|
|
"applet/app/svc" |
|
|
"applet/app/svc" |
|
|
|
|
|
"fmt" |
|
|
"github.com/gin-gonic/gin" |
|
|
"github.com/gin-gonic/gin" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
@@ -127,6 +128,11 @@ func GenerateDataDoing(c *gin.Context) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
res := svc.DataCenterGenerateDataDoing(c, req) |
|
|
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) |
|
|
e.OutSuc(c, res, nil) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|