|
|
|
@ -197,6 +197,7 @@ class TestResourceController extends BaseController
|
|
|
|
|
|
|
|
|
|
M('protect_log_read', 'tab_')->startTrans(); //事物
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
$arrUserId = array_column($data,'id');
|
|
|
|
|
$logId = implode(',',$arrUserId);
|
|
|
|
|
|
|
|
|
@ -214,7 +215,7 @@ class TestResourceController extends BaseController
|
|
|
|
|
$addData = [];
|
|
|
|
|
$k = 0;
|
|
|
|
|
foreach($arrUserId as $key => $value) {
|
|
|
|
|
if (in_array($value['id'],$upsetData)) {
|
|
|
|
|
if (in_array($value,$upsetData)) {
|
|
|
|
|
continue;
|
|
|
|
|
} else {
|
|
|
|
|
$addData[$k]['log_id'] = $value;
|
|
|
|
|