通讯录导入前端

This commit is contained in:
wong
2025-09-11 10:08:26 +08:00
parent 0f1edf3f9c
commit 51312a3a2a
13 changed files with 2232 additions and 11 deletions

View File

@@ -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;
}