RemoteApiLogService.java
643 Bytes
package com.huaheng.system.api;
import com.huaheng.common.core.constant.ServiceNameConstants;
import com.huaheng.system.api.domain.ApiLog;
import com.huaheng.system.api.factory.RemoteApiLogFallbackFactory;
import com.huaheng.system.api.factory.RemoteUserFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
@FeignClient(contextId = "remoteApiLogService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteApiLogFallbackFactory.class)
public interface RemoteApiLogService {
@PostMapping("/apiLog/save")
boolean save(ApiLog apiLog);
}