This commit is contained in:
wucongxing8150 2025-03-12 09:17:16 +08:00
parent f3db036f4b
commit c1b79642b5

View File

@ -227,12 +227,6 @@ func (b *ProjectPlatform) AddProjectPlatform(c *gin.Context) {
return
}
// 检测状态
if project.ProjectStatus == 0 {
responses.FailWithMessage("项目无效,无法添加", c)
return
}
// 检测平台
// 将 id 转换为 int64 类型
platformId, err := strconv.ParseInt(req.PlatformId, 10, 64)