Code format
This commit is contained in:
parent
56f17772ca
commit
7eb8fe3477
|
|
@ -19,13 +19,13 @@ use Beike\Models\ProductCategory;
|
|||
use Beike\Models\ProductDescription;
|
||||
use Beike\Models\ProductRelation;
|
||||
use Beike\Models\ProductSku;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Beike\Shop\Http\Resources\ProductSimple;
|
||||
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\HigherOrderBuilderProxy;
|
||||
use Illuminate\Http\Resources\Json\AnonymousResourceCollection;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class ProductRepo
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,11 +19,8 @@ class Bootstrap
|
|||
|
||||
add_hook_blade('admin.plugin.form', function ($callback, $output, $data) {
|
||||
$code = $data['plugin']->code;
|
||||
|
||||
if ($code == 'social') {
|
||||
$view = view('Social::admin.config_form', $data)->render();
|
||||
|
||||
return $view;
|
||||
return view('Social::admin.config_form', $data)->render();
|
||||
}
|
||||
|
||||
return $output;
|
||||
|
|
|
|||
Loading…
Reference in New Issue