| 123456789101112131415161718192021222324252627282930313233 |
- <?php
- // +---------------------------------------------------------------------+
- // | NiuCloud | [ WE CAN DO IT JUST NiuCloud ] |
- // +---------------------------------------------------------------------+
- // | Copy right 2019-2029 www.niucloud.com |
- // +---------------------------------------------------------------------+
- // | Author | NiuCloud <niucloud@outlook.com> |
- // +---------------------------------------------------------------------+
- // | Repository | https://github.com/niucloud/framework.git |
- // +---------------------------------------------------------------------+
- namespace addon\replacebuy\event;
- /**
- * 应用安装
- */
- class Install
- {
- /**
- * 执行安装
- */
- public function handle()
- {
- /* try{
- execute_sql('addon/discount/data/install.sql');
- return success();
- }catch (\Exception $e)
- {
- return error('', $e->getMessage());
- } */
- return success();
- }
- }
|