Commit 6b9e05a7 by 吴迪

【新增】修改文件

parent e905020f
......@@ -66,9 +66,10 @@ public class NewsController extends AbstractController {
if(newsclassEntity!=null) {
if(newsclassEntity.getPId()!=null &&newsclassEntity.getPId()!=0) {
news.setClassid(newsclassEntity.getId());
news.setCclassName(news.getClassName());
news.setClassName(newsclassEntity.getName());
news.setCclassid(news.getClassid());
news.setClassName(news.getClassName());
news.setCclassid(newsclassEntity.getPId());
}
}
return R.ok().put("news", news);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment