Commit cecc66a6 authored by 赵啸非's avatar 赵啸非

修改热门词汇

parent 952972c5
Pipeline #2402 canceled with stages
...@@ -76,6 +76,7 @@ public class MatterDatumController extends BaseCRUDJsonBodyMappingController<Mat ...@@ -76,6 +76,7 @@ public class MatterDatumController extends BaseCRUDJsonBodyMappingController<Mat
//新增 //新增
hotwordEntity = new HotwordEntity(); hotwordEntity = new HotwordEntity();
hotwordEntity.initAttrValue(); hotwordEntity.initAttrValue();
hotwordEntity.setSiteId(query.getSiteId());
hotwordEntity.setHotwords(query.getMateriaFullName()); hotwordEntity.setHotwords(query.getMateriaFullName());
hotwordEntity.setSearchCount(1); hotwordEntity.setSearchCount(1);
hotwordService.save(hotwordEntity, context); hotwordService.save(hotwordEntity, context);
......
...@@ -19,6 +19,7 @@ Authorization: {{authToken}} ...@@ -19,6 +19,7 @@ Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
{ {
"siteId": 3,
"page": 1, "page": 1,
"size": 10, "size": 10,
"materiaFullName": "测试" "materiaFullName": "测试"
......
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