SoftcenterController.php 735 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace App\Http\Home;
  3. use App\Services\Eav\MaterialService;
  4. use App\Services\Elastic\Facades\ES;
  5. use Illuminate\Database\Schema\Blueprint;
  6. use Illuminate\Support\Carbon;
  7. use Illuminate\Support\Facades\DB;
  8. use Illuminate\Support\Facades\Request;
  9. use Illuminate\Support\Facades\Schema;
  10. class SoftcenterController extends HttpBaseController
  11. {
  12. public function __construct()
  13. {
  14. parent::__construct();
  15. }
  16. /**
  17. * 购买
  18. */
  19. public function index()
  20. {
  21. $list = DB::table('product')->get();
  22. return view('home/http/softcenter', ['list' => $list]);
  23. }
  24. /**
  25. * 电子书
  26. */
  27. public function XYEbook()
  28. {
  29. return view('home/http/softebook');
  30. }
  31. }