刘桂岩 3 years ago
parent
commit
f34001a8f5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/controller/Index.php

+ 2 - 2
app/controller/Index.php

@@ -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'];
                 }