Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -300,14 +300,14 @@ export struct PeopleShipHomeArticleListComponent { | @@ -300,14 +300,14 @@ export struct PeopleShipHomeArticleListComponent { | ||
| 300 | } | 300 | } |
| 301 | // contentDTO.shareInfo = [self.contentShare.firstObject convertToShareInfo]; | 301 | // contentDTO.shareInfo = [self.contentShare.firstObject convertToShareInfo]; |
| 302 | // contentDTO.shareInfo.shareUrl = self.shareUrl; | 302 | // contentDTO.shareInfo.shareUrl = self.shareUrl; |
| 303 | - if (element.updateTime.length > 0) { | ||
| 304 | - contentDTO.publishTime = this.convertPublishTimeWith(element.updateTime); | ||
| 305 | - }else if (element.publishTime.length > 0) { | 303 | + if (element.publishTime.length > 0) { |
| 306 | contentDTO.publishTime = this.convertPublishTimeWith(element.publishTime); | 304 | contentDTO.publishTime = this.convertPublishTimeWith(element.publishTime); |
| 307 | } else if (element.firstPublishTime.length > 0) { | 305 | } else if (element.firstPublishTime.length > 0) { |
| 308 | contentDTO.publishTime = this.convertPublishTimeWith(element.firstPublishTime); | 306 | contentDTO.publishTime = this.convertPublishTimeWith(element.firstPublishTime); |
| 309 | } else if (element.createTime.length > 0) { | 307 | } else if (element.createTime.length > 0) { |
| 310 | contentDTO.publishTime = this.convertPublishTimeWith(element.createTime); | 308 | contentDTO.publishTime = this.convertPublishTimeWith(element.createTime); |
| 309 | + } else if (element.updateTime.length > 0) { | ||
| 310 | + contentDTO.publishTime = this.convertPublishTimeWith(element.updateTime); | ||
| 311 | } | 311 | } |
| 312 | 312 | ||
| 313 | //图集数量 | 313 | //图集数量 |
-
Please register or login to post a comment