浏览代码

引流模块的安装

liuzejian 1 年之前
父节点
当前提交
0765c44b7a
共有 1 个文件被更改,包括 32 次插入0 次删除
  1. 32 0
      modules/Yinliu/Installer.php

+ 32 - 0
modules/Yinliu/Installer.php

@@ -0,0 +1,32 @@
+<?php
+
+namespace Modules\Yinliu;
+
+use Catch\Support\Module\Installer as ModuleInstaller;
+use Modules\Yinliu\Providers\YinliuServiceProvider;
+
+class Installer extends ModuleInstaller
+{
+    protected function info(): array
+    {
+        // TODO: Implement info() method.
+        return [
+            'title' => '引流管理',
+            'name' => 'yinliu',
+            'path' => 'yinliu',
+            'keywords' => '引流管理',
+            'description' => '引流管理模块',
+            'provider' => YinliuServiceProvider::class
+        ];
+    }
+
+    protected function requirePackages(): void
+    {
+        // TODO: Implement requirePackages() method.
+    }
+
+    protected function removePackages(): void
+    {
+        // TODO: Implement removePackages() method.
+    }
+}