SoftcenterController.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. /**
  39. * 图片
  40. */
  41. public function XYImage()
  42. {
  43. return view('home/http/softimage');
  44. }
  45. /**
  46. * 音频
  47. */
  48. public function XYAudio()
  49. {
  50. return view('home/http/softaudio');
  51. }
  52. /**
  53. * 视频
  54. */
  55. public function XYVideos()
  56. {
  57. return view('home/http/softvideos');
  58. }
  59. /**
  60. * 文件
  61. */
  62. public function XYRename()
  63. {
  64. return view('home/http/softrename');
  65. }
  66. }