Ejemplo n.º 1
0
 /**
  * 对单张照片进行评论
  * @param md5 $org_objid 多图动态id
  * @param int $pid 照片id
  */
 public function getFeedObjIDOfPID()
 {
     $org_objid = $this->input->get('feed_id');
     $pid = $this->input->get('pic_id');
     $r = $this->feedModel->getFeedObjIDOfPID($org_objid, $pid);
     if ($r) {
         $this->send_response(200, $r);
     } else {
         $this->send_response(400, NULL, '400:获取数据失败');
     }
 }