소스 검색

wesmiler 报恩寺项目提交

wesmiler 4 년 전
부모
커밋
43f08ab26c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Api/v1/IndexController.php

+ 1 - 1
app/Http/Controllers/Api/v1/IndexController.php

@@ -194,7 +194,7 @@ class IndexController extends BaseController
         preg_match("/<td class>(.*)<\/td>/", $temp1, $yl);
         $yl = isset($yl[1])? $yl[1] : '';
 
-        return message(MESSAGE_OK, true, ['content'=> $content, 'result'=> $temp,'date'=> date('m月d日'),'yl'=> $yl,'yl_day'=> substr($yl, -2, 2),'yi'=> $yi,'ji'=> $ji]);
+        return message(MESSAGE_OK, true, ['content'=> $content, 'result'=> $temp,'hl'=> $temp1,'date'=> date('m月d日'),'yl'=> $yl,'yl_day'=> substr($yl, -2, 2),'yi'=> $yi,'ji'=> $ji]);
 
     }
 }