Commit 96dee5e7 authored by hujun's avatar hujun

重置数组

parent 7d8b5ee1
......@@ -672,7 +672,9 @@ class PrivacyNumber
$id_array[] = $v['id'];
}
if (isset($id_array)) {
$num += $this->m_bind->updateData(['status'=>0], ['id'=>['in', $id_array]]);
$this->m_bind->updateData(['status'=>0], ['id'=>['in', $id_array]]);
$num += count($id_array);
unset($id_array);
}
}
return Response::create(['code' => 200, 'msg' => '', 'data' => '释放数量:'.$num], 'json');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment