        $this->display();
    }

    public function add(){
        $userid = $_SESSION['user']['id'];

        $goal = I('goal');
        

        $oid=$_GET['oid']; // 获取url里的参数值  ord=1
        $content=$_POST['rateContents'];  //评论内容 
        $assess=M('assess');
        $data['addtime']=time();
        $data['odid']=$oid;