From 40417edce32320cc8f6f558adf9b8ee8b4ff23c2 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Thu, 26 Apr 2018 16:44:14 +0800
Subject: [PATCH] 调整上传接口

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

diff --git a/Yfs/Api/Data.php b/Yfs/Api/Data.php
index 8cb651d..a6f7ffd 100644
--- a/Yfs/Api/Data.php
+++ b/Yfs/Api/Data.php
@@ -48,7 +48,7 @@
         $data_service = new Domain_Data();
 
         if(!empty($this->data)){
-          $data = $this->data;
+          $data = json_decode($this->data,true);
         }
         else{
           $data = $this->data_1;

--
Gitblit v1.8.0