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(); }
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(); }