RemoteCheckDetailService.java
725 Bytes
package com.huaheng.check.api;
import com.huaheng.check.api.domain.CheckDetail;
import com.huaheng.check.api.factory.RemoteCheckDetailFallFactory;
import com.huaheng.check.api.factory.RemoteCheckHeaderFallFactory;
import com.huaheng.common.core.constant.ServiceNameConstants;
import com.huaheng.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
@FeignClient(contextId = "remoteCheckDetailService", value = ServiceNameConstants.CHECK_SERVICE, fallbackFactory = RemoteCheckDetailFallFactory.class)
public interface RemoteCheckDetailService {
@PostMapping("/checkDetail")
AjaxResult save(CheckDetail checkDetail);
}