Ejemplo n.º 1
0
 public function actionDeleteComments()
 {
     $commentsId = Yii::$app->request->post('commentsId');
     AdminPhoto::deleteComments($commentsId);
     echo json_encode(['status' => 1]);
 }