public function view_export() { $exportXlsAct = new packageCheckAct(); $exportXlsAct->act_export(); }
public function act_editPackageNote() { $id = intval(trim($_POST['id'])); $note = trim($_POST['note']); //$note = iconv('GBK', 'UTF-8', $note);write_log('aa/aaa.txt', $note."\r\n"); if ($id) { $a = packageCheckModel::update_note($id, $note); if ($a === FALSE) { self::$errCode = "001"; self::$errMsg = "更新备注失败"; return false; } else { self::$errCode = 0; self::$errMsg = "更新备注成功"; return TRUE; } } }