|
@@ -42,7 +42,7 @@ public class FarmController {
|
|
|
return farmService.getFarm2(userId);
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/getFarmType")
|
|
|
+ @PostMapping("/getFarmType")
|
|
|
public Result getFarmType(@RequestBody Map<String,Integer> paramMap){
|
|
|
return new Result(ResultCode.SUCCESS, farmService.getById( paramMap.get("farmId")));
|
|
|
}
|