修正日程默认无法自建
This commit is contained in:
parent
63eef57b6e
commit
021a455092
27
README.md
27
README.md
|
@ -44,6 +44,31 @@
|
|||
1. 地址: http://demo.gdoo.net 帐号:admin, 密码:123456
|
||||
2. 交流QQ群: 79446405
|
||||
|
||||
## 截图
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 架构
|
||||
基于PHP框架Laravel 8.x + MySQL 8.x
|
||||
|
||||
|
@ -55,8 +80,6 @@
|
|||
5. 然后执行 php artisan key:generate
|
||||
6. 修改.env相关配置
|
||||
|
||||
## 其他
|
||||
1. 等待添加
|
||||
|
||||
[license-badge]: https://img.shields.io/badge/license-apache2-blue.svg
|
||||
[license-link]: LICENSE
|
||||
|
|
|
@ -54,7 +54,7 @@ class CalendarService
|
|||
|
||||
// 如果用户没有日历则添加一个默认的
|
||||
if ($model->count() == 0) {
|
||||
Calendar::addDefaultCalendar($userId);
|
||||
static::addDefaultCalendar($userId);
|
||||
}
|
||||
|
||||
$rows = $model->get();
|
||||
|
|
Loading…
Reference in New Issue