/** * OrderPushAct::申请打印() * * @return bool */ public function act_applyAllPrint() { $ostatus = isset($_POST["ostatus"]) ? intval($_POST["ostatus"]) : ''; $otype = isset($_POST["otype"]) ? intval($_POST["otype"]) : ''; $flag = isset($_POST["flag"]) ? intval($_POST["flag"]) : 2; if (!$ostatus) { self::$errCode = "1001"; self::$errMsg = "无一级状态"; return false; } $result = OrderPushModel::applyAllPrint($ostatus, $otype, $flag); self::$errCode = OrderPushModel::$errCode; self::$errMsg = OrderPushModel::$errMsg; return $result; }