perf: 任务等级支持设置0天表示默认不限时
This commit is contained in:
@@ -114,7 +114,7 @@ class SystemController extends AbstractController
|
||||
return Base::retError('参数错误');
|
||||
}
|
||||
foreach ($list AS $item) {
|
||||
if (empty($item['name']) || empty($item['color']) || empty($item['days']) || empty($item['priority'])) {
|
||||
if (empty($item['name']) || empty($item['color']) || empty($item['priority'])) {
|
||||
continue;
|
||||
}
|
||||
$array[] = [
|
||||
|
||||
Reference in New Issue
Block a user