|
|
|
@@ -50,7 +50,6 @@ class Topic < ApplicationRecord |
|
|
|
|
|
|
|
if self.url.include?("gitlink.org.cn/forums/") || self.url.include?("trustie.net/forums/") |
|
|
|
request_memo = Forum::Memos::GetService.call(self.uuid) |
|
|
|
binding.pry |
|
|
|
data[:visits] = request_memo.nil? ? 0 : request_memo["memo"]["viewed_count"] |
|
|
|
data[:created_time] = request_memo.nil? ? format_time(Time.now) : request_memo["memo"]["published_time"] |
|
|
|
end |
|
|
|
|