...
This commit is contained in:
parent
23ed2e43cc
commit
0dd9114195
@ -5,6 +5,7 @@ import kr.lunaticbum.back.lun.utils.LogService
|
||||
import lombok.AllArgsConstructor
|
||||
import lombok.Data
|
||||
import lombok.NoArgsConstructor
|
||||
import org.bson.codecs.pojo.annotations.BsonIgnore
|
||||
import org.jsoup.Jsoup
|
||||
import org.springframework.beans.factory.annotation.Autowired
|
||||
import org.springframework.data.annotation.Id
|
||||
@ -151,6 +152,10 @@ enum class RssDataType {
|
||||
// else -> { View.VISIBLE }
|
||||
// }
|
||||
}
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Document(collection = "RssData")
|
||||
class RssData : RssDataInterface {
|
||||
|
||||
@Id
|
||||
@ -164,6 +169,7 @@ class RssData : RssDataInterface {
|
||||
var chosung : String? = null
|
||||
|
||||
|
||||
@BsonIgnore
|
||||
var mRssDataType : RssDataType? = null
|
||||
override fun title(): String {
|
||||
return when(category()){
|
||||
@ -273,6 +279,7 @@ object SkFWTW9zdA : SoInterface {
|
||||
thumbnail = thumb
|
||||
originPage = link
|
||||
this.title = title
|
||||
category = RssDataType.Most.name
|
||||
try {
|
||||
pubDate = dmy.parse(date).time
|
||||
}catch (e : Exception) {e.printStackTrace()}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user