| | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.community.sanshuo.ComMediateTypeDTO; |
| | | 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.service_community.entity.ComMediateType; |
| | | import com.panzhihua.service_community.entity.ComSanshuoEvent; |
| | |
| | | comMediateType.setModifyUser(this.getLoginUserInfo().getUserId()); |
| | | return R.ok(commediateTypeService.updateById(comMediateType)); |
| | | } |
| | | |
| | | /** |
| | | * 大屏接口-事件统计 |
| | | * */ |
| | | @PostMapping("/indexDate") |
| | | public R indexDate(@RequestBody IndexDateDTO indexDateDTO){ |
| | | return commediateTypeService.indexDate(indexDateDTO); |
| | | } |
| | | } |