| | |
| | | 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; |
| | |
| | | |
| | | @GetMapping("/appletsList") |
| | | public R appletList(){ |
| | | return R.ok(commediateTypeService.list(new QueryWrapper<ComMediateType>().eq("enabled",1))); |
| | | return R.ok(commediateTypeService.list(new QueryWrapper<ComMediateType>().eq("enabled",1).eq("deleteFlag", 0))); |
| | | } |
| | | |
| | | /** |
| | |
| | | comMediateType.setModifyUser(this.getLoginUserInfo().getUserId()); |
| | | return R.ok(commediateTypeService.updateById(comMediateType)); |
| | | } |
| | | |
| | | } |