|
@@ -38,8 +38,8 @@ class Index extends BaseController
|
|
|
if($obj)
|
|
|
{
|
|
|
$info = json_decode(json_encode($obj),true);
|
|
|
- $code = $info['Error']['Code'];
|
|
|
- if($code !== '0')
|
|
|
+ $returnCode = $info['Error']['Code'];
|
|
|
+ if($returnCode !== '0')
|
|
|
{
|
|
|
return '报告获取失败!迪安回传信息:'.$info['Error']['Descript'];
|
|
|
}
|