feat:完善项目信息

This commit is contained in:
henry
2022-01-12 17:29:05 +08:00
parent 4ec0953a29
commit 5ca8b3f7ff
18 changed files with 281 additions and 255 deletions

View File

@ -2,7 +2,6 @@ package api
import (
"SciencesServer/app/basic/controller"
"SciencesServer/utils"
"github.com/gin-gonic/gin"
)
@ -26,7 +25,7 @@ func (a *Config) Industry(c *gin.Context) {
APIFailure(err.(error))(c)
return
}
data := controller.NewConfig().Industry(utils.StringToUnit64(form.ParentID))
data := controller.NewConfig().Industry((&IDStringForm{ID: form.ParentID}).Convert())
APISuccess(data)(c)
}