package routers import ( "github.com/gin-gonic/gin" "kpt.xdmy/apiserver/service" ) func EasBatch(c *gin.Context) { n, e := service.PartBatch() if n == 0 { c.JSON(500, e.Error()) } else { c.JSON(200, n) } }