提交 5752503a authored 作者: niguanghui's avatar niguanghui

--no commit message

上级 57af4528
...@@ -61,7 +61,7 @@ public class ContentController { ...@@ -61,7 +61,7 @@ public class ContentController {
@Autowired @Autowired
private ContentImgService imgService; private ContentImgService imgService;
@Autowired @Autowired
private SysuserClient clien; private SysuserClient client;
@Autowired @Autowired
private ContentSourceService sourceService; private ContentSourceService sourceService;
...@@ -97,7 +97,7 @@ public class ContentController { ...@@ -97,7 +97,7 @@ public class ContentController {
throw new ShowException("时间格式不正确,请传入yyyy-MM-dd格式"); throw new ShowException("时间格式不正确,请传入yyyy-MM-dd格式");
} }
content.setClickNum(content.getActualClickNum() + content.getFictitiousClickNum()); content.setClickNum(content.getActualClickNum() + content.getFictitiousClickNum());
BasicsUserVo user = clien.selectOp().getData(); BasicsUserVo user = client.selectOp().getData();
content.setUserName(user.getName()); content.setUserName(user.getName());
content.setUserId(user.getUserId()); content.setUserId(user.getUserId());
if (!service.insert(content)) { if (!service.insert(content)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论