add clear

This commit is contained in:
as2252258@163.com
2020-01-02 14:26:39 +08:00
parent 70d0de22ef
commit f7fe347ec3
+1 -1
View File
@@ -478,7 +478,7 @@ class HttpClient
}
return json_decode($encode, TRUE);
} else if (strpos($type, 'plain') !== false) {
return json_decode($data, TRUE);
return json_decode($body, TRUE);
} else {
return $body;
}