SoftcenterController.php 857 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. /**
  32. * 电子书
  33. */
  34. public function XYPinyin()
  35. {
  36. return view('home/http/softpinyin');
  37. }
  38. }