日志管理bug修复

master
zyx 5 years ago
parent a16c77181c
commit 4a23e1dd8a

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

Loading…
Cancel
Save