正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论