package com.hz.his.feign.service.sync; import com.alibaba.fastjson.JSONObject; import com.hx.resultTool.Result; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * @Author */ @FeignClient(name="phi-platform-user",path = "/his_synchro",contextId = "synchro-coupon") public interface SyncCouponService { /** * 获取所有优惠卷 * @param jsonObject * @return */ @PostMapping(value = "/sync/coupon/list") Result couponList(@RequestBody JSONObject jsonObject); }