public function poiUpdataAction()
 {
     $poi_id = $this->request->get('poi_id');
     if (!$poi_id) {
         return;
     }
     $pois = new \App\Models\Pois();
     $info = $pois->getPoiInfoById($poi_id);
     $this->view->setVar('info', $info);
 }
 public function deletePoiByIdAction()
 {
     $id = $this->request->get('poi_id');
     if (!$id && !is_numeric($id)) {
         return;
     }
     $pois = new \App\Models\Pois();
     $info = $pois->getPoiInfoById($id);
     if ($info) {
         if ($this->di['wechat']->deletePoi(json_encode(array('poi_id' => $info['poi_id']), JSON_UNESCAPED_UNICODE))) {
             //删除成功
         }
     }
 }