zqy
5 天以前 b02beccf4567068cb47a3f1181a00039456c872d
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);
    }
    /**