$ret = $this->projects_model->where($where)->setField(array('status'=>ProjectsModel::STATUS_ONLINE,'update_time'=>$update_time,'expire_time'=>$expire_time));
$project = $this->projects_model->where(array("id"=>$id))->find();
if ($ret!==false) {
$this->success("操作成功!");
R("Financing/ProjectRecommend/send_when_project_pass", array($project));
} else {
$this->error("操作失败!");
}
最佳答案
