From 74adf3a72663f151dc2c1b87ecb4ea4b0e080a50 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Fri, 27 Apr 2018 16:21:52 +0800
Subject: [PATCH] 优化

---
 Yfs/Domain/Data.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Yfs/Domain/Data.php b/Yfs/Domain/Data.php
index a76c76f..8237215 100644
--- a/Yfs/Domain/Data.php
+++ b/Yfs/Domain/Data.php
@@ -25,7 +25,7 @@
         $arr['address'] = $data['address'];
         foreach ($data['data'] as $value) {
 
-            $arr['value'] = $value['value'];
+            $arr['value'] = (float)$value['value'];
             $arr['create_time'] = $value['time'];
             $arr['date'] = date('Y-m-d', strtotime($value['time']));
             if($value['type'] == 0){

--
Gitblit v1.8.0