Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
larvacent committed Aug 8, 2021
1 parent 83ac4ca commit c2aceed
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 26 deletions.
1 change: 0 additions & 1 deletion src/Admin/Actions/BatchRetry.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/

namespace Larva\Baidu\Push\Admin\Actions;
Expand Down
1 change: 0 additions & 1 deletion src/Admin/Actions/PushRetry.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/

namespace Larva\Baidu\Push\Admin\Actions;
Expand Down
1 change: 0 additions & 1 deletion src/Admin/Controllers/PushController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/

namespace Larva\Baidu\Push\Admin\Controllers;
Expand Down
6 changes: 3 additions & 3 deletions src/BaiduPush.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* @copyright Copyright (c) 2018 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larvacent.com/
* @license http://www.larvacent.com/license/
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
*/

namespace Larva\Baidu\Push;
Expand Down
1 change: 0 additions & 1 deletion src/BaiduPushServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/

namespace Larva\Baidu\Push;
Expand Down
6 changes: 3 additions & 3 deletions src/Commands/Push.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* @copyright Copyright (c) 2018 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larvacent.com/
* @license http://www.larvacent.com/license/
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
*/

namespace Larva\Baidu\Push\Commands;
Expand Down
6 changes: 3 additions & 3 deletions src/Commands/PushRetry.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* @copyright Copyright (c) 2018 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larvacent.com/
* @license http://www.larvacent.com/license/
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
*/

namespace Larva\Baidu\Push\Commands;
Expand Down
7 changes: 3 additions & 4 deletions src/HasBaiduPush.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/

namespace Larva\Baidu\Push;
Expand All @@ -23,13 +22,13 @@ trait HasBaiduPush
protected static function bootHasBaiduPush(): void
{
static::created(function ($model) {
BaiduPush::push($model->link);
BaiduPush::push($model->url);
});
static::updated(function ($model) {
BaiduPush::update($model->link);
BaiduPush::update($model->url);
});
static::deleted(function ($model) {
BaiduPush::delete($model->link);
BaiduPush::delete($model->url);
});
}
}
1 change: 0 additions & 1 deletion src/Jobs/DeleteJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/

namespace Larva\Baidu\Push\Jobs;
Expand Down
6 changes: 3 additions & 3 deletions src/Jobs/PushJob.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* @copyright Copyright (c) 2018 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larvacent.com/
* @license http://www.larvacent.com/license/
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
*/

namespace Larva\Baidu\Push\Jobs;
Expand Down
1 change: 0 additions & 1 deletion src/Jobs/UpdateJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/

namespace Larva\Baidu\Push\Jobs;
Expand Down
6 changes: 3 additions & 3 deletions src/Models/BaiduPush.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* @copyright Copyright (c) 2018 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larvacent.com/
* @license http://www.larvacent.com/license/
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
*/

namespace Larva\Baidu\Push\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Observers/BaiduPushObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/

namespace Larva\Baidu\Push\Observers;
Expand Down

0 comments on commit c2aceed

Please sign in to comment.