package com.hz.his.feign.service.sync; import com.hx.resultTool.Result; import com.hz.his.dto.sync.SyncUserCradDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; /** * @Author */ @FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-userCrad") public interface SyncUserCardService { /** * 修改领健用户卡包为已作废状态 * 注意不要随意调用,需要用到先和同步中心商量 * @param syncUserCradDto * @return */ @PostMapping(value = "/sync/user/card/updateUserCard") Result updateUserCard(SyncUserCradDto syncUserCradDto); /** * 同步用户卡包 * @param syncUserCradDto * @return */ @PostMapping(value = "/sync/user/card/list") Result list(SyncUserCradDto syncUserCradDto); }