Quellcode durchsuchen

wesmiler 报恩寺项目提交

wesmiler vor 4 Jahren
Ursprung
Commit
f4d04235b8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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>/", $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'=> substr($yl, -2, 2),'yi'=> $yi,'ji'=> $ji]);