ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfMasterController.java
@@ -50,7 +50,7 @@ * 根据宠物id获取相关主人信息 */ @GetMapping() public AjaxResult getByPetId(@PathParam("pid")Long pid){ public AjaxResult getByPetId(@PathParam("pid")String pid){ return zfMasterService.getMasterInfoByPetId(pid); } @@ -103,7 +103,7 @@ @PostMapping public AjaxResult add(@RequestBody ZfMaster zfMaster) { return toAjax(zfMasterService.save(zfMaster)); return zfMasterService.mySave(zfMaster); } /**