提交 22077beb 编写于 作者: 檀越@新空间's avatar 檀越@新空间 🐭

fix:自动更新时间

上级 529aa3e0
...@@ -17,6 +17,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -17,6 +17,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.List; import java.util.List;
...@@ -82,6 +83,7 @@ public class CsdnServiceImpl implements CsdnService { ...@@ -82,6 +83,7 @@ public class CsdnServiceImpl implements CsdnService {
csdnCollectService.collect(article, csdnUserInfo); csdnCollectService.collect(article, csdnUserInfo);
} }
} }
csdnUserInfo.setUpdateTime(new Date());
csdnUserInfoService.updateById(csdnUserInfo); csdnUserInfoService.updateById(csdnUserInfo);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册