vali 6 年之前
父节点
当前提交
ab2c61e672
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;