|
@@ -1,10 +1,10 @@
|
|
|
package org.springblade.modules.feign;
|
|
|
|
|
|
import org.springblade.common.constant.CommonConstant;
|
|
|
-import org.springblade.core.tool.api.R;
|
|
|
import org.springblade.modules.entity.RkxxEntity;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
@FeignClient(
|
|
@@ -14,6 +14,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|
|
public interface RkxxFeign {
|
|
|
String API_PREFIX = "/api/bzdz";
|
|
|
|
|
|
- @GetMapping(API_PREFIX + "/rkxx")
|
|
|
- RkxxEntity rkxx(String fzSfzh);
|
|
|
+ @PostMapping(API_PREFIX + "/rkxx")
|
|
|
+ RkxxEntity rkxx(@RequestBody String fzSfzh);
|
|
|
}
|