public function act_sureAb() { $id_arr = $_POST['id']; $push_info = CommonModel::pushAbnormalPrint($id_arr); if ($push_info) { $update = packageCheckModel::updateEntryStatus($id_arr, $_SESSION['userId']); if ($update) { self::$errMsg = "推送成功!"; return true; } else { self::$errCode = "402"; self::$errMsg = "更新录入状态失败,请不要重复提交,并联系it!"; return false; } } else { self::$errCode = "401"; self::$errMsg = "推送失败,请重试!"; return false; } }