package cn.freemud.management.thirdparty;

import cn.freemud.management.thirdparty.request.ecology.adapter.CancelRedeemCouponRequest;
import cn.freemud.management.thirdparty.response.Result;
import cn.freemud.management.thirdparty.response.ecology.adapter.CancelRedeemCouponResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;


@FeignClient(name = "ECOLOGY-ADAPTER")
public interface EcologyAdapterClient {

    @PostMapping(value = "/ecologyadapter/coupon/cancel")
    Result<CancelRedeemCouponResponse> couponCancel(CancelRedeemCouponRequest req);
}
