You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
565 B

  1. <?php
  2. namespace api\controllers;
  3. use api\logic\Helper;
  4. use backend\modules\shop\models\ars\Address;
  5. use Yii;
  6. use yii\rest\ActiveController;
  7. use yii\web\NotFoundHttpException;
  8. /**
  9. * @author iron
  10. * @email weiriron@gmail.com
  11. */
  12. class TakingSiteController extends ActiveController
  13. {
  14. public $modelClass = 'backend\modules\shop\models\ars\TakingSite';
  15. public function actions()
  16. {
  17. $action = parent::actions();
  18. unset($action['delete']);
  19. unset($action['update']);
  20. unset($action['options']);
  21. return $action;
  22. }
  23. }