package com.njcn.system.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.system.api.fallback.AuditFeignClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author denghuajun
 * @version 1.0.0
 * @date 2022年01月05日 15:11
 */
@FeignClient(value = ServerInfo.SYSTEM, path = "/audit", fallbackFactory = AuditFeignClientFallbackFactory.class, contextId = "area")
public interface AuditFeignClient {


    @PostMapping("/clearHistoryLog")
    HttpResult clearHistoryLog();

}
