| | |
| | | |
| | | @Autowired |
| | | private UsersService usersService; |
| | | @Autowired |
| | | private ZbomCRMService zbomCRMService; |
| | | |
| | | @Autowired |
| | | private CustomerUserService customerUserService; |
| | |
| | | public ApiResponse saveRenovationCalculator(@RequestBody RenovationCalculatorDTO renovationCalculatorDTO) { |
| | | renovationCalculatorDTO.setMemberId(getMemberId()); |
| | | CustomerLog customerLog =customerService.saveRenovationCalculator(renovationCalculatorDTO); |
| | | // zbomCRMService.dealCustomerLogData(customerLog); |
| | | zbomCRMService.dealCustomerLogData(customerLog); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | public ApiResponse saveFreeCustomizationApply(@RequestBody FreeCustomizationDTO freeCustomizationDTO) { |
| | | freeCustomizationDTO.setMemberId(getMemberId()); |
| | | CustomerLog customerLog = customerService.saveFreeCustomizationApply(freeCustomizationDTO); |
| | | // zbomCRMService.dealCustomerLogData(customerLog); |
| | | zbomCRMService.dealCustomerLogData(customerLog); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @LoginRequired |
| | | @ApiOperation(value = "标签数据 - 中台", notes = "客户端小程序") |
| | | @PostMapping("/getZTCatalogInfoResponse") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true) |
| | | }) |
| | | public ApiResponse<List<ZTCatalogInfoResponse>> getZTCatalogInfoResponse(@RequestBody ZTCatalogListRequest ztCatalogListRequest) { |
| | | List<ZTCatalogInfoResponse> ztCatalogInfoResponse = getZhongTaiDataService.getZTCatalogInfoResponse(ztCatalogListRequest); |
| | | return ApiResponse.success("查询成功",ztCatalogInfoResponse); |
| | | } |
| | | |
| | | @LoginRequired |
| | | @ApiOperation(value = "内容分页 - 中台", notes = "客户端小程序") |
| | | @PostMapping("/pageContentList") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true) |
| | | }) |
| | | public ApiResponse<ZTBasePageResponse<ZTContentListResponse>> pageContentList(@RequestBody ZTContentListRequest ztContentListRequest) { |
| | | ztContentListRequest.setUserId(getMemberId()+""); |
| | | ztContentListRequest.setUserType(Constants.CUSTOMER); |
| | | ZTBasePageResponse<ZTContentListResponse> ztBasePageResponse= getZhongTaiDataService.pageContentList(ztContentListRequest); |
| | | return ApiResponse.success("查询成功",ztBasePageResponse); |
| | | } |