package cn.sikey.hmd.api.hmd;

import cn.sikey.framework.common.pojo.CommonResult;
import cn.sikey.hmd.api.hmd.dto.paymentExceptionLogs.PaymentExceptionLogsDTO;
import cn.sikey.hmd.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: qin
 * @Date: 2025/4/26
 * @Description: 付款记录异常
 */
@FeignClient(name = ApiConstants.NAME)
public interface PaymentExceptionLogsApi {

    String PREFIX = ApiConstants.PREFIX;

    @PostMapping(PREFIX + "/savePaymentExceptionLogs")
    CommonResult<Void> savePaymentExceptionLogs(@RequestBody @Validated PaymentExceptionLogsDTO paymentExceptionLogsDTO);
}
