更新项目阶段

This commit is contained in:
yaooo 2023-11-09 16:29:14 +08:00
parent e9302ee943
commit 7245a2ae4d
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ class ProjectIndex extends ApiController
$flow = [];
$time_1 = $param['start_time'];
$time_2 = $param['end_time'];
if (count($flowNameData) != count(array_unique($flowNameData))) {
$this->apiError('存在重复的项目阶段,请重新设置');
}
foreach ($flowNameData as $key => $value) {
if (!$value) {
continue;