Uninstall.php 708 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace addons\Community;
  3. use Yii;
  4. use yii\db\Migration;
  5. use common\helpers\MigrateHelper;
  6. use common\interfaces\AddonWidget;
  7. /**
  8. * 卸载
  9. *
  10. * Class UnInstall
  11. * @package addons\Community
  12. */
  13. class UnInstall extends Migration implements AddonWidget
  14. {
  15. /**
  16. * @param $addon
  17. * @return mixed|void
  18. * @throws \yii\base\InvalidConfigException
  19. * @throws \yii\web\NotFoundHttpException
  20. * @throws \yii\web\UnprocessableEntityHttpException
  21. */
  22. public function run($addon)
  23. {
  24. // MigrateHelper::downByPath([
  25. // '@addons/Community/console/migrations/'
  26. // ]);
  27. }
  28. public function runApp($mall_id){
  29. // 商城应用市场卸载
  30. }
  31. }