package com.hz.crm.feign; import com.hx.resultTool.Result; import com.hz.crm.dto.phis.PhisAppealTypeRelateDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * 同步PHIS诉求分类数据 * @USER: fhx * @DATE: 2023/8/14 **/ @FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "sync-phis-appeal-type-relate") public interface FSyncPhisAppealTypeRelateService { /** 初始数据 */ @PostMapping("/sync/phis/appeal/type/relate/initData") Result initData(@RequestBody(required = false) PhisAppealTypeRelateDto dto); /** 更新数据(多) */ @PostMapping("/sync/phis/appeal/type/relate/updateListData") Result updateListData(@RequestBody(required = false) PhisAppealTypeRelateDto dto); /** 更新数据(单) */ @PostMapping("/sync/phis/appeal/type/relate/updateData") Result updateData(@RequestBody(required = false) PhisAppealTypeRelateDto dto); }