Commit 77ccf8c2 77ccf8c2c7ba71ed1b1a26b40c0c755e52cd55e3 by 杨俊

fix(develop): 修复报错

1 parent b2fe476d
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
22 use Hikoon\LaravelApi\Support\ApiCode; 22 use Hikoon\LaravelApi\Support\ApiCode;
23 use Illuminate\Http\Request; 23 use Illuminate\Http\Request;
24 use Illuminate\Support\Facades\Auth; 24 use Illuminate\Support\Facades\Auth;
25 use Illuminate\Support\Facades\Bus;
26 use Illuminate\Support\Facades\Cache; 25 use Illuminate\Support\Facades\Cache;
27 use Illuminate\Support\Facades\DB; 26 use Illuminate\Support\Facades\DB;
28 use Illuminate\Support\Facades\Notification; 27 use Illuminate\Support\Facades\Notification;
......
...@@ -11,8 +11,8 @@ protected function getExpand(): array ...@@ -11,8 +11,8 @@ protected function getExpand(): array
11 { 11 {
12 $expand = $this->input('expand', []); 12 $expand = $this->input('expand', []);
13 return [ 13 return [
14 'push_type' => data_get($expand, 'push_type', ['tag']), 14 'push_type' => ['tag'],
15 'push_user' => data_get($expand, 'push_user', []), 15 'push_user' => [],
16 'tag_ids' => data_get($expand, 'tag_ids', []), 16 'tag_ids' => data_get($expand, 'tag_ids', []),
17 'lyricist' => [ 17 'lyricist' => [
18 'ids' => data_get($expand, 'lyricist.ids', []), 18 'ids' => data_get($expand, 'lyricist.ids', []),
......