Skip to content

Commit

Permalink
fix: 🐛 使用时细节修改
Browse files Browse the repository at this point in the history
安装插件时默认未启用和权重未设默认值
上传本地插件页面说明错误
  • Loading branch information
aoaostar committed Sep 13, 2022
1 parent f5e8dd9 commit 3eb6780
Show file tree
Hide file tree
Showing 53 changed files with 52 additions and 52 deletions.
4 changes: 2 additions & 2 deletions app/lib/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
namespace app\lib;




use Exception;

/**
Expand Down Expand Up @@ -119,6 +117,8 @@ public function install()
$model->config = [];
$model->category_id = 0;
$model->request_count = 0;
$model->enable = 1;
$model->weight = 0;
$model->template = 'default';
}
$install->Install($model);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3eb6780

Please sign in to comment.