v.2.0
Clients file update
This commit is contained in:
@@ -64,7 +64,7 @@ class ClientFile extends HRCCommand implements HRCCommandInterface {
|
||||
$mainThreads = 4;
|
||||
$countPerThread = ceil($clientsCount / $mainThreads);
|
||||
$offset = ($urlThread - 1) * $countPerThread;
|
||||
$clients = Client::with('clientPhone:client_guid')->skip($offset)->take($countPerThread)->get();
|
||||
$clients = Client::with('clientPhone')->skip($offset)->take($countPerThread)->get();
|
||||
|
||||
if (!is_dir($tmp_dirname)) {
|
||||
mkdir($tmp_dirname, 0755, 'w+');
|
||||
|
||||
Reference in New Issue
Block a user