Commit 0ebe5c02 by 杨林龙

假性离线API接口开发

1 parent 90dae82d
......@@ -5,6 +5,7 @@ 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)
......@@ -12,6 +13,6 @@ public interface FakeOfficeClient {
@PostMapping(value = "storeFakeList")
@ResponseBody
R storeFakeData(FakeOfflineFenceSnDto fakeOfflineFenceSnDto);
R storeFakeData(@RequestBody FakeOfflineFenceSnDto fakeOfflineFenceSnDto);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!