|
@@ -28,7 +28,6 @@ func (pa *ProjectApi) QueryProjectList(c *gin.Context) {
|
|
|
global.GVA_LOG.Error("QueryProjectList ====== " + err.Error())
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
list, total, err := projectService.QueryProjectList(search)
|
|
|
if err != nil {
|
|
|
response.FailWithMessage("失败", c)
|
|
@@ -259,6 +258,7 @@ func (pa *ProjectApi) QueryProjectById(c *gin.Context) {
|
|
|
response.OkWithData(project, c)
|
|
|
}
|
|
|
|
|
|
+// CreateProject 创建项目
|
|
|
func (pa *ProjectApi) CreateProject(c *gin.Context) {
|
|
|
form, err := c.MultipartForm()
|
|
|
files := form.File["file"]
|