Explorar el Código

wesmiler 报恩寺项目提交

wesmiler hace 4 años
padre
commit
75e7f92a88
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/Api/v1/IndexController.php

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

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