<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $company = '杭州网尚科技有限公司'; //utf-8 以下三项任选一个 $creditno = ''; $regno = ''; $url = "https://api.jisuapi.com/enterprise2/query?company=$company&creditno=$creditno®no=$regno&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $result = $jsonarr['result']; echo $result['name'].' '.$result['type'].' '.$result['regcapital'].' '.$result['scope'].' '.$result['startdate'].' '.$result['enddate'].'
'; echo $result['regorgan'].' '.$result['legalperson'].' '.$result['approvaldate'].' '.$result['regdate'].' '.$result['canceldate'].'
'; echo $result['status'].' '.$result['orgno'].' '.$result['creditno'].' '.$result['province'].' '.$result['city'].' '.$result['regno'].' '.$result['regaddress'].'
';
© 2015-2024 杭州极速互联科技有限公司 版权所有 浙ICP备17047587号-4 浙公网安备33010502005096 增值电信业务经营许可证:浙B2-20190875