fix(develop): 修复报错
Showing
2 changed files
with
2 additions
and
3 deletions
... | @@ -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', []), | ... | ... |
-
Please register or sign in to post a comment