SoftcenterController.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. /**
  67. * 压缩
  68. */
  69. public function XYCompress()
  70. {
  71. return view('home/http/softcompress');
  72. }
  73. /**
  74. * pdf
  75. */
  76. public function XYPdf()
  77. {
  78. return view('home/http/softpdf');
  79. }
  80. /**
  81. * 水印
  82. */
  83. public function XYWatermark()
  84. {
  85. return view('home/http/softwatermark');
  86. }
  87. /**
  88. * 图片下载
  89. */
  90. public function XYCapture()
  91. {
  92. return view('home/http/softcapture');
  93. }
  94. /**
  95. * 文件搜索
  96. */
  97. public function XYFile()
  98. {
  99. return view('home/http/softfile');
  100. }
  101. }