合并优化

This commit is contained in:
kuaifan
2022-03-10 17:44:57 +08:00
parent 48b7f4924e
commit 43c51d48d9
77 changed files with 505 additions and 1552 deletions

View File

@@ -428,7 +428,7 @@ class Project extends AbstractModel
if (!$hasStart) {
throw new ApiException('至少需要1个开始状态');
}
if($testNum > 1){
if ($testNum > 1) {
throw new ApiException('验收/测试状态只能有1个');
}
if (!$hasEnd) {