FakeOfficeClient.java
764 Bytes
package cn.com.glsx.stdinterface.api;
import cn.com.glsx.stdinterface.dto.FakeOfflineFenceSnDto;
import cn.com.glsx.stdinterface.factory.FakeOfficeFallbackFactory;
import com.glsx.plat.core.web.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
@FeignClient(name = "ne-shield-standard-interfaces", path = "/nesi/fakeoffice", fallbackFactory = FakeOfficeFallbackFactory.class, decode404 = true)
public interface FakeOfficeClient {
@PostMapping(value = "storeFakeList")
@ResponseBody
R storeFakeData(@RequestBody FakeOfflineFenceSnDto fakeOfflineFenceSnDto);
}