| | |
| | | import com.panzhihua.common.model.dtos.community.sanshuo.ComSanshuoEventDTO; |
| | | import com.panzhihua.common.model.dtos.community.sanshuo.IndexDateDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.service.user.UserService; |
| | | import com.panzhihua.service_community.entity.ComEvent; |
| | | import com.panzhihua.service_community.entity.ComMediateType; |
| | | import com.panzhihua.service_community.entity.ComSanshuoEvent; |
| | |
| | | @Resource |
| | | private IComEventService comEventService; |
| | | |
| | | @Resource |
| | | private UserService userService; |
| | | |
| | | @GetMapping ("/list") |
| | | public R list(@RequestParam(value = "keyWord",required = false)String keyWord, |
| | | @RequestParam(value = "page",required = false)Integer page, |
| | | @RequestParam(value = "size",required = false)Integer size){ |
| | | return commediateTypeService.listEvent(keyWord,page,size); |
| | | String appId=userService.detailUser(this.getUserId()).getData().getAppId(); |
| | | return commediateTypeService.listEvent(keyWord,page,size,appId); |
| | | } |
| | | |
| | | @GetMapping("/detail") |