fix NPE --tag

main
wangqing 12 months ago
parent 3d4c3b3c8f
commit cb1d9ef00a

@ -101,10 +101,10 @@ public class TagService {
LocalDateTime now = LocalDateTime.now();
tag.setCreateTime(now);
tag.setUpdateTime(now);
UserInfo userInfo = RequestContext.get();
tag.setCreatorId(userInfo.getId());
tag.setUpdaterId(userInfo.getId());
//
// UserInfo userInfo = RequestContext.get();
// tag.setCreatorId(userInfo.getId());
// tag.setUpdaterId(userInfo.getId());
tagDao.save(tag);
}

Loading…
Cancel
Save