| | |
| | | import com.doumee.biz.zbom.model.crm.response.CRMBaseResponse; |
| | | import com.doumee.biz.zbom.model.crm.response.CRMCustomerListResponse; |
| | | import com.doumee.biz.zbom.model.zhongtai.ZTCatalogListRequest; |
| | | import com.doumee.biz.zbom.model.zhongtai.ZTConstants; |
| | | import com.doumee.biz.zbom.model.zhongtai.ZTContentListRequest; |
| | | import com.doumee.biz.zbom.model.zhongtai.response.*; |
| | | import com.doumee.config.annotation.LoginRequired; |
| | |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "id", value = "内容主键", required = true), |
| | | }) |
| | | public ApiResponse<ZTContentInfoResponse> getContentInfo(@RequestParam String id) { |
| | | ZTContentInfoResponse ztContentInfoResponse= getZhongTaiDataService.getContentInfo(id,Constants.BUSINESS,getUserId()); |
| | | ZTContentInfoResponse ztContentInfoResponse= getZhongTaiDataService.getContentInfo(id, ZTConstants.BUSINESS,getUserId()); |
| | | return ApiResponse.success("查询成功",ztContentInfoResponse); |
| | | } |
| | | |
| | |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "id", value = "内容主键", required = true), |
| | | }) |
| | | public ApiResponse collectContent(@RequestParam String id) { |
| | | getZhongTaiDataService.collectContent(getUserId(),Constants.BUSINESS,id); |
| | | getZhongTaiDataService.collectContent(getUserId(),ZTConstants.BUSINESS,id); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "id", value = "内容主键", required = true), |
| | | }) |
| | | public ApiResponse likeContent(@RequestParam String id) { |
| | | getZhongTaiDataService.likeContent(getUserId(),Constants.BUSINESS,id); |
| | | getZhongTaiDataService.likeContent(getUserId(),ZTConstants.BUSINESS,id); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "id", value = "内容主键", required = true), |
| | | }) |
| | | public ApiResponse shareContent(@RequestParam String id) { |
| | | getZhongTaiDataService.shareContent(getUserId(),Constants.BUSINESS,id); |
| | | getZhongTaiDataService.shareContent(getUserId(),ZTConstants.BUSINESS,id); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "id", value = "内容主键", required = true), |
| | | }) |
| | | public ApiResponse viewContent(@RequestParam String id) { |
| | | getZhongTaiDataService.viewContent(getUserId(),Constants.BUSINESS,id); |
| | | getZhongTaiDataService.viewContent(getUserId(),ZTConstants.BUSINESS,id); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | } |