Ejemplo n.º 1
0
 public function picture_remove_tag()
 {
     try {
         $this->throwMsgCheck('is_post', 'is_login', 'is_active');
         lib()->load('Picture');
         $pic = new Picture();
         $req = req()->_plain();
         $pic->remove_tag($req->post('id'), $req->post('tag'), login_user()->getId());
         $this->rt_msg['status'] = true;
     } catch (\Exception $ex) {
         $this->rt_msg['msg'] = $ex->getMessage();
         $this->rt_msg['code'] = $ex->getCode();
     }
 }