555
This commit is contained in:
parent
f3db036f4b
commit
c1b79642b5
@ -227,12 +227,6 @@ func (b *ProjectPlatform) AddProjectPlatform(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 检测状态
|
|
||||||
if project.ProjectStatus == 0 {
|
|
||||||
responses.FailWithMessage("项目无效,无法添加", c)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// 检测平台
|
// 检测平台
|
||||||
// 将 id 转换为 int64 类型
|
// 将 id 转换为 int64 类型
|
||||||
platformId, err := strconv.ParseInt(req.PlatformId, 10, 64)
|
platformId, err := strconv.ParseInt(req.PlatformId, 10, 64)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user