package com.sptg.permissions.api.feigns;

import com.sptg.common.core.beans.ResultBean;
import com.sptg.permissions.api.entity.ApiLog;
import com.sptg.permissions.api.feigns.fallback.ConfFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * title: SysApiLogFeign
 * package: com.sptg.permissions.api.feigns
 * description: 系统接口日志服务接口
 *
 *                  
 *                
 */
@FeignClient(value = "smart-house-permissions",fallbackFactory = ConfFeignFallbackFactory.class)
public interface SysApiLogFeign {

    @PostMapping(value = "/sysApiLog/create")
    public ResultBean<Boolean> create(@RequestBody ApiLog apiLog);
}
