Commit ec7917d1 by 陈健智

移动端事件详情页去除权限限制

parent 156cc44b
...@@ -76,12 +76,14 @@ public class MobileEventController extends BaseController { ...@@ -76,12 +76,14 @@ public class MobileEventController extends BaseController {
@ApiOperation("移动端事件详情-事件基础信息") @ApiOperation("移动端事件详情-事件基础信息")
@GetMapping("/detail/baseInfo") @GetMapping("/detail/baseInfo")
@Auth(role = RoleEnum.NO_AUTHORISE)
public ResponseResult eventBaseInfo(@RequestParam(value = "eventId") String eventId){ public ResponseResult eventBaseInfo(@RequestParam(value = "eventId") String eventId){
return ResponseResult.success(eventService.eventBaseInfo(eventId)); return ResponseResult.success(eventService.eventBaseInfo(eventId));
} }
@ApiOperation("移动端事件详情-传播趋势图") @ApiOperation("移动端事件详情-传播趋势图")
@GetMapping("/detail/dissemination-trends") @GetMapping("/detail/dissemination-trends")
@Auth(role = RoleEnum.NO_AUTHORISE)
public ResponseResult eventDisseminationTrends(@RequestParam(value = "eventId") String eventId, public ResponseResult eventDisseminationTrends(@RequestParam(value = "eventId") String eventId,
@RequestParam(value = "type", defaultValue = "小时") String type){ @RequestParam(value = "type", defaultValue = "小时") String type){
return ResponseResult.success(eventService.eventDisseminationTrends(eventId, type)); return ResponseResult.success(eventService.eventDisseminationTrends(eventId, type));
...@@ -89,6 +91,7 @@ public class MobileEventController extends BaseController { ...@@ -89,6 +91,7 @@ public class MobileEventController extends BaseController {
@ApiOperation("移动端事件详情-渠道发声") @ApiOperation("移动端事件详情-渠道发声")
@GetMapping("/detail/channel-voices") @GetMapping("/detail/channel-voices")
@Auth(role = RoleEnum.NO_AUTHORISE)
public ResponseResult eventChannelVoices(@RequestParam(value = "eventId") String eventId, public ResponseResult eventChannelVoices(@RequestParam(value = "eventId") String eventId,
@RequestParam(value = "type", defaultValue = "重要渠道") String type, @RequestParam(value = "type", defaultValue = "重要渠道") String type,
@RequestParam(value = "page", defaultValue = "1") int page, @RequestParam(value = "page", defaultValue = "1") int page,
...@@ -100,6 +103,7 @@ public class MobileEventController extends BaseController { ...@@ -100,6 +103,7 @@ public class MobileEventController extends BaseController {
@ApiOperation("移动端事件详情-热门文章分析") @ApiOperation("移动端事件详情-热门文章分析")
@GetMapping("/detail/top-articles-analysis") @GetMapping("/detail/top-articles-analysis")
@Auth(role = RoleEnum.NO_AUTHORISE)
public ResponseResult eventTopArticlesAnalysis(@RequestParam(value = "eventId") String eventId, public ResponseResult eventTopArticlesAnalysis(@RequestParam(value = "eventId") String eventId,
@RequestParam(value = "type", defaultValue = "按时间") String type, @RequestParam(value = "type", defaultValue = "按时间") String type,
@RequestParam(value = "emotion", defaultValue = "全部") String emotion, @RequestParam(value = "emotion", defaultValue = "全部") String emotion,
...@@ -109,6 +113,7 @@ public class MobileEventController extends BaseController { ...@@ -109,6 +113,7 @@ public class MobileEventController extends BaseController {
@ApiOperation("移动端事件详情-热门渠道发声、上榜热搜、词云") @ApiOperation("移动端事件详情-热门渠道发声、上榜热搜、词云")
@GetMapping("/detail/additional-info") @GetMapping("/detail/additional-info")
@Auth(role = RoleEnum.NO_AUTHORISE)
public ResponseResult eventDetailAdditionalInfo(@RequestParam(value = "eventId") String eventId){ public ResponseResult eventDetailAdditionalInfo(@RequestParam(value = "eventId") String eventId){
return ResponseResult.success(eventService.eventDetailAdditionalInfo(eventId)); return ResponseResult.success(eventService.eventDetailAdditionalInfo(eventId));
} }
......
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