<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here'; $regno = '4952050'; $classid = '42'; $url = "https://api.jisuapi.com/trademark/detail?appkey=$appkey®no=$regno&classid=$classid"; $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['regno'].' '.$result['classid'].' '.$result['appdate'].' '.$result['firsttrialno'].' '.$result['firsttrialdate'].' '.$result['announceno'].' '.$result['announcedate'].' '.$result['startdate'].' '.$result['enddate'].' '.$result['iscommon'].' '.$result['type'].' '.$result['pic'].' '.$result['agent'].' '.$result['status'].' '.$result['name'].' '.$result['registrant'].' '.$result['idcard'].' '.$result['address'].'
'; foreach ($result['productlist'] as $val){ echo $val['classid'].' '.$val['name'].'
'; } foreach ($result['processlist'] as $val){ echo $val['name'].' '.$val['date'].'
'; }
© 2015-2024 杭州极速互联科技有限公司 版权所有 浙ICP备17047587号-4 浙公网安备33010502005096 增值电信业务经营许可证:浙B2-20190875