作者 lyh

gx

@@ -51,7 +51,7 @@ class DomainInfo extends Command @@ -51,7 +51,7 @@ class DomainInfo extends Command
51 } 51 }
52 $ssl = $this->updateDomainSsl($v['domain']); 52 $ssl = $this->updateDomainSsl($v['domain']);
53 $time = $this->updateDomain($v['domain']); 53 $time = $this->updateDomain($v['domain']);
54 - if(!empty($time['start']) && !!empty($time['end'])){ 54 + if(!empty($time['start']) && !empty($time['end'])){
55 $data = [ 55 $data = [
56 'certificate_start_time'=>$ssl['from'], 56 'certificate_start_time'=>$ssl['from'],
57 'certificate_end_time'=>$ssl['to'], 57 'certificate_end_time'=>$ssl['to'],
@@ -141,7 +141,7 @@ class IndexController extends BaseController @@ -141,7 +141,7 @@ class IndexController extends BaseController
141 $product_image[]['title'] = $v['title']; 141 $product_image[]['title'] = $v['title'];
142 if(!empty($v['thumb']) && !empty($v['thumb']['url'])){ 142 if(!empty($v['thumb']) && !empty($v['thumb']['url'])){
143 $product_image[]['image'] = ''; 143 $product_image[]['image'] = '';
144 - $product_image[]['image'] = getImageUrl($v['thumb']['url'],$this->user['storage_type'] ?? 0,$this->user['project_location']); 144 + $product_image[]['image'] = getImageUrl($v['thumb']['url']);
145 } 145 }
146 } 146 }
147 $data = [ 147 $data = [