Browse Source

增加接口

sandm 2 years ago
parent
commit
a703326d4f
1 changed files with 26 additions and 0 deletions
  1. 26 0
      app/admin/api/RsApi.php

+ 26 - 0
app/admin/api/RsApi.php

@@ -124,6 +124,12 @@ class RsApi {
         return json_decode($res,true);
         return json_decode($res,true);
     }
     }
 
 
+    /**
+     * 根据证件号码、社保缴交年月查询个人社保缴费信息
+     * @param $card
+     * @param $time
+     * @return array|mixed
+     */
     public function I110202($card,$time){
     public function I110202($card,$time){
         $check_res = $this->check();
         $check_res = $this->check();
         if(!$check_res) return ['code' => '403','message' => '测试环境'];
         if(!$check_res) return ['code' => '403','message' => '测试环境'];
@@ -138,6 +144,24 @@ class RsApi {
         return json_decode($res,true);
         return json_decode($res,true);
     }
     }
 
 
+    /**
+     * 根据证件号码查询失信被执行人 编码S0503
+     * @param $card
+     * @return array|mixed
+     */
+    public function S0503($card){
+        $check_res = $this->check();
+        if(!$check_res) return ['code' => '403','message' => '测试环境'];
+        $param = [
+            'aac002' => $card,
+            'sjhjLog' => $this->sjhjLog
+        ];
+
+        $res = $this->getInfo('S0503',$param);
+
+        return json_decode($res,true);
+    }
+
 
 
     /**
     /**
      * 根据统一社会信用代码查询企业基本信息
      * 根据统一社会信用代码查询企业基本信息
@@ -192,4 +216,6 @@ class RsApi {
 
 
         return json_decode($res,true);
         return json_decode($res,true);
     }
     }
+
+
 }
 }