This commit is contained in:
mkm 2024-01-06 11:10:30 +08:00
parent 41555ba42f
commit ad93935145

View File

@ -292,6 +292,7 @@ class Task extends CommonModel
'end_time' => date('Y-m-d H:i:s',bcdiv($endTime,1000)), 'end_time' => date('Y-m-d H:i:s',bcdiv($endTime,1000)),
'private' => $project['open_task_private'] ? 1 : 0, 'private' => $project['open_task_private'] ? 1 : 0,
'name' => trim($taskTitle), 'name' => trim($taskTitle),
'exchange_list' => $data['exchangeList'],
]; ];
$result = self::create($data); $result = self::create($data);
// self::update(['sort' => $result['id']], ['id' => $result['id']]); // self::update(['sort' => $result['id']], ['id' => $result['id']]);