通讯录导入前端
This commit is contained in:
@@ -243,7 +243,7 @@ class WorkbenchImportContactJob
|
||||
*/
|
||||
protected function getDeviceList($workbench, $config)
|
||||
{
|
||||
$deviceIds = json_decode($config['deviceId'], true);
|
||||
$deviceIds = json_decode($config['devices'], true);
|
||||
if (empty($deviceIds)) {
|
||||
return [];
|
||||
}
|
||||
@@ -313,7 +313,7 @@ class WorkbenchImportContactJob
|
||||
protected function getContactFromDatabase($workbench,$config)
|
||||
{
|
||||
$pools = json_decode($config['pools'], true);
|
||||
$deviceIds = json_decode($config['deviceId'], true);
|
||||
$deviceIds = json_decode($config['devices'], true);
|
||||
if (empty($pools) || empty($deviceIds)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user