linwu преди 4 седмици
родител
ревизия
514e5ad72c
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      app/Http/Controllers/Web/Recuperate/RecuperateController.php

+ 3 - 0
app/Http/Controllers/Web/Recuperate/RecuperateController.php

@@ -45,6 +45,9 @@ class RecuperateController extends WebBaseController
      */
     public function show($id)
     {
+        if (isMobile()) {
+            return redirect(route('mobile.recuperate.show', ['id' => $id]));
+        }
         //获取详情
         $info = $this->recuperateService->getRecuperateInfo($id);
         if (!$info) {