日期:2014-05-17 浏览次数:20615 次
public function edit() {
$Form =M("release");
if ($vo = $Form->create()) {
$list = $Form->save();
if ($list !== false) {
$this->success('数据更新成功!');
} else {
$this->error("没有更新任何数据!");
}
} else {
$this->error($Form->getError());
}
$this->assign('Form',$Form);
dump($Form);
$this->display();
}