Uninstall.php 705 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace addons\Recharge;
  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\Recharge */
  12. class UnInstall extends Migration implements AddonWidget
  13. {
  14. /**
  15. * @param $addon
  16. * @return mixed|void
  17. * @throws \yii\base\InvalidConfigException
  18. * @throws \yii\web\NotFoundHttpException
  19. * @throws \yii\web\UnprocessableEntityHttpException
  20. */
  21. public function run($addon)
  22. {
  23. // MigrateHelper::downByPath([
  24. // '@addons/Recharge/console/migrations/'
  25. // ]);
  26. }
  27. public function runApp($mall_id){
  28. // 商城应用市场卸载
  29. }
  30. }