刘桂岩 3 년 전
부모
커밋
f34001a8f5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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'];
                 }