Skip to content

Commit 9ca78cb

Browse files
committed
fix(repo): 进度条的逻辑
1 parent 3b3054c commit 9ca78cb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

laravel/app/Http/Repository/ApiRepository.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,13 @@ public function randomTime()
107107
{
108108
return (float)sprintf('%.0f', microtime(true) * 1000);
109109
}
110+
111+
112+
/**
113+
* 获取下载进度条
114+
*/
115+
public function workProgress($list)
116+
{
117+
return $list;
118+
}
110119
}

0 commit comments

Comments
 (0)