|
|
@@ -2084,7 +2084,7 @@ class ImportService extends Service
|
|
|
|
|
|
// 使用日期范围限制
|
|
|
list($status, $msg) = MiddleGroundService::checkTimestampInRange($allMonthsTs, $user['top_depart_id']);
|
|
|
- if(! $status) return [false, $msg];
|
|
|
+ if(! $status) return [$msg, [], []];
|
|
|
|
|
|
//归档
|
|
|
list($status, $msg) = ArchiveService::isArchive($allMonthsTs, $user);
|
|
|
@@ -2346,7 +2346,7 @@ class ImportService extends Service
|
|
|
|
|
|
// 使用日期范围限制
|
|
|
list($status, $msg) = MiddleGroundService::checkTimestampInRange($allMonthsTs, $user['top_depart_id']);
|
|
|
- if(! $status) return [false, $msg];
|
|
|
+ if(! $status) return [$msg, [], []];
|
|
|
|
|
|
//归档
|
|
|
list($status, $msg) = ArchiveService::isArchive($allMonthsTs, $user);
|
|
|
@@ -2563,7 +2563,7 @@ class ImportService extends Service
|
|
|
|
|
|
// 使用日期范围限制
|
|
|
list($status, $msg) = MiddleGroundService::checkTimestampInRange($allMonthsTs, $user['top_depart_id']);
|
|
|
- if(! $status) return [false, $msg];
|
|
|
+ if(! $status) return [$msg, [], []];
|
|
|
|
|
|
//归档
|
|
|
list($status, $msg) = ArchiveService::isArchive($allMonthsTs, $user);
|
|
|
@@ -2844,7 +2844,7 @@ class ImportService extends Service
|
|
|
|
|
|
// 使用日期范围限制
|
|
|
list($status, $msg) = MiddleGroundService::checkTimestampInRange($allDates, $user['top_depart_id']);
|
|
|
- if(! $status) return [false, $msg];
|
|
|
+ if(! $status) return [$msg, [], [], []];
|
|
|
|
|
|
//归档
|
|
|
list($status, $msg) = ArchiveService::isArchive($allDates, $user);
|
|
|
@@ -3120,7 +3120,7 @@ class ImportService extends Service
|
|
|
|
|
|
// 使用日期范围限制
|
|
|
list($status, $msg) = MiddleGroundService::checkTimestampInRange($allDates, $user['top_depart_id']);
|
|
|
- if(! $status) return [false, $msg];
|
|
|
+ if(! $status) return [$msg, [], [], []];
|
|
|
|
|
|
//归档
|
|
|
list($status, $msg) = ArchiveService::isArchive($allDates, $user);
|
|
|
@@ -3358,7 +3358,7 @@ class ImportService extends Service
|
|
|
|
|
|
// 使用日期范围限制
|
|
|
list($status, $msg) = MiddleGroundService::checkTimestampInRange($allDateTs, $user['top_depart_id']);
|
|
|
- if(! $status) return [false, $msg];
|
|
|
+ if(! $status) return [$msg, [], []];
|
|
|
|
|
|
//归档
|
|
|
list($status, $msg) = ArchiveService::isArchive($allDateTs, $user);
|
|
|
@@ -3634,7 +3634,7 @@ class ImportService extends Service
|
|
|
|
|
|
// 使用日期范围限制
|
|
|
list($status, $msg) = MiddleGroundService::checkTimestampInRange($allDateTs, $user['top_depart_id']);
|
|
|
- if(! $status) return [false, $msg];
|
|
|
+ if(! $status) return [$msg, [], []];
|
|
|
|
|
|
//归档
|
|
|
list($status, $msg) = ArchiveService::isArchive($allDateTs, $user);
|
|
|
@@ -3957,7 +3957,7 @@ class ImportService extends Service
|
|
|
|
|
|
// 使用日期范围限制
|
|
|
list($status, $msg) = MiddleGroundService::checkTimestampInRange($allMonthsTs, $user['top_depart_id']);
|
|
|
- if(! $status) return [false, $msg];
|
|
|
+ if(! $status) return [$msg, [], []];
|
|
|
|
|
|
//归档
|
|
|
list($status, $msg) = ArchiveService::isArchive($allMonthsTs, $user);
|