예제 #1
0
 public function qiye()
 {
     $where = array('uid' => intval(session('uid')), 'id' => intval($_GET['id']));
     $wxinfo = M('Wxuser')->where($where)->find();
     if (empty($wxinfo)) {
         $this->error('参数错误,请稍后再试~');
     }
     $oa = new oa($wxinfo);
     $url = $oa->url();
     $this->assign("oaurl", $url);
     $this->display();
 }
예제 #2
0
 public function qiye()
 {
     $where = array("uid" => intval(session("uid")), "id" => intval($_GET["id"]));
     $wxinfo = M("Wxuser")->where($where)->find();
     if (empty($wxinfo)) {
         $this->error("参数错误,请稍后再试~");
     }
     $oa = new oa($wxinfo);
     $url = $oa->url();
     $this->assign("oaurl", $url);
     $this->display();
 }