package com.seer.teach.pay.api.order;

import com.seer.teach.pay.api.ApiConstants;
import com.seer.teach.pay.api.order.dto.PayOrderCreateReqDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = ApiConstants.SERVER_NAME,contextId = "payOrderApi",path = "/seer/pay")
public interface PayOrderApi {

    @PostMapping("/order/create")
    Integer createOrder(@RequestBody PayOrderCreateReqDTO reqDTO);
}