Skip to content

Commit 5e2d004

Browse files
committed
fix:AsyncTaskAcquirer
1 parent 53e41fe commit 5e2d004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/AsyncTaskAcquirer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AsyncTaskAcquirer
1515
*/
1616
public static function get($taskKey) {
1717
$taskKey = 'async_task_'.$taskKey;
18-
if (Cache::has($taskKey)) {
18+
if (!Cache::has($taskKey)) {
1919
throw new Exception('任务不存在');
2020
}
2121
return Cache::get($taskKey);

0 commit comments

Comments
 (0)