This commit is contained in:
mkm 2024-03-26 13:52:32 +08:00
parent 78ab0b2e70
commit b0714f610f

View File

@ -32,7 +32,7 @@ class Api
$param['create_time'] = time();
$param['admin_id'] = 1;
if (!empty($param['md5']) && strlen($param['md5']) > 2) {
$id = TaskList::where('md5', $param['md5'])->value('id');
$id = TaskList::where('md5', $param['md5'])->where('flow_status',1)->value('id');
if ($id) {
return to_assign(1, '已存在');
}