|
|
|
@ -1211,6 +1211,7 @@ function age($cardno, $name)
|
|
|
|
|
$path = "/idCardCert";
|
|
|
|
|
$method = "GET";
|
|
|
|
|
$appcode = C('tool_age.appcode');
|
|
|
|
|
// $appcode = "244181f0846541a19e24df409736d3b9";
|
|
|
|
|
$headers = array();
|
|
|
|
|
array_push($headers, "Authorization:APPCODE " . $appcode);
|
|
|
|
|
$querys = "idCard=" . $cardno . "&name=" . $name;
|
|
|
|
@ -1234,7 +1235,6 @@ function age($cardno, $name)
|
|
|
|
|
|
|
|
|
|
$r = json_decode($output, true);
|
|
|
|
|
if ($r['status'] == "02") return 0;
|
|
|
|
|
|
|
|
|
|
return $r;
|
|
|
|
|
// if (empty($output)) {
|
|
|
|
|
// return -1;//用完
|
|
|
|
|