|
@@ -79,6 +79,6 @@ public class FarmController {
|
|
|
@PostMapping("/listFunction")
|
|
|
public Result listFunction(@RequestBody Map<String,String> paramsMap){
|
|
|
String farmId = paramsMap.get("farmId");
|
|
|
- return new Result(ResultCode.SUCCESS,farmService.getById(farmId));
|
|
|
+ return new Result(ResultCode.SUCCESS,farmService.getById(farmId).getFunction());
|
|
|
}
|
|
|
}
|