Commit 5955f96b by 梅存智

问卷接口参数调整

parent 163790aa
...@@ -216,7 +216,7 @@ public interface ResearchClient { ...@@ -216,7 +216,7 @@ public interface ResearchClient {
* @return * @return
*/ */
@GetMapping("/research/top/get") @GetMapping("/research/top/get")
List<ResearchVo> getResearchTop(@RequestParam("bizType") Integer bizType); List<ResearchVo> getResearchTop(@RequestParam(value = "bizType", required = false) Integer bizType);
/** /**
* 查看研信详情 * 查看研信详情
......
...@@ -405,7 +405,7 @@ public class ResearchController { ...@@ -405,7 +405,7 @@ public class ResearchController {
* @return * @return
*/ */
@GetMapping("/top/get") @GetMapping("/top/get")
List<ResearchVo> getResearchTop(@RequestParam("bizType") Integer bizType){ List<ResearchVo> getResearchTop(@RequestParam(value = "bizType", required = false) Integer bizType){
return researchService.getResearchTop(bizType); return researchService.getResearchTop(bizType);
} }
......
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