vali hace 6 años
padre
commit
ab2c61e672
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      datainf/logic/HttpServerOnlySet.php

+ 1 - 1
datainf/logic/HttpServerOnlySet.php

@@ -708,7 +708,7 @@ class HttpServerOnlySet
     {
         $ret = (new SetinfoModel())->getInfo(1001);
         if (is_array($ret)) {
-            $val = trim($ret->infocontent);
+            $val = floatval($ret['infocontent']);
             $this->fanshui = $val;
             print_r(['反水数据', $ret, $this->fanshui]);
             return $val;