소스 검색

疗休养

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) {