package cn.freemud.service.thirdparty;

import cn.freemud.entities.dto.CouponCodeResponseDto;
import cn.freemud.entities.dto.CouponCodeVerificationDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "COUPON",url="${saas.couponofflineclient.feign.url}")
public interface CouponOfflineClient {

    @PostMapping("/api")
    CouponCodeResponseDto verification(CouponCodeVerificationDto couponCodeVerificationDto);
}
