作者 刘锟

update

@@ -357,8 +357,8 @@ class DomainInfo extends Command @@ -357,8 +357,8 @@ class DomainInfo extends Command
357 $start = ''; 357 $start = '';
358 $end = ''; 358 $end = '';
359 if (isset($response['code']) && $response['code'] == 200) { 359 if (isset($response['code']) && $response['code'] == 200) {
360 - $start = $response['text']['creation_date'];  
361 - $end = $response['text']['expiration_date']; 360 + $start = $response['text']['creation_date'] != 'None' ? $response['text']['creation_date'] : '';
  361 + $end = $response['text']['expiration_date'] != 'None' ? $response['text']['expiration_date'] : '';
362 } 362 }
363 return ['start' => $start, 'end' => $end]; 363 return ['start' => $start, 'end' => $end];
364 } 364 }