Esempio n. 1
0
 function detail()
 {
     $id = I("get.id");
     $flat = $this->flat_model->where("id = {$id}")->find();
     $appid = $flat['wt_appid'];
     $appsecret = $flat['wt_appsecret'];
     $auth = new WechatAuth($appid, $appsecret);
     ////获取组
     $group = $auth->userGet();
     //groupsGet();
     $this->assign("group", $group);
     $this->display();
 }