diff --git a/README.md b/README.md index 037b831..63c7795 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Linux下,勾股OA的安装请使用以下命令进行安装。 第二步:进入目录 cd gouguoa -第三步:下载PHP依赖包 【php8.0的环境用根目录的composer.php8.json替换覆盖composer.json后再安装】 +第三步:下载PHP依赖包 【PS:如果是php8.0的环境,先用根目录的composer.php8.json替换覆盖composer.json后再安装】 composer install diff --git a/app/article/model/Article.php b/app/article/model/Article.php index a61cfdb..39ee551 100644 --- a/app/article/model/Article.php +++ b/app/article/model/Article.php @@ -36,7 +36,7 @@ class Article extends Model } //插入关键字 - public function insertKeyword($keywordArray = [], $aid) + public function insertKeyword($keywordArray = [],$aid = 0) { $insert = []; $time = time();