From 2b0835030cc4a95319512841a14b6f60f18693de Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期四, 04 五月 2023 16:43:17 +0800 Subject: [PATCH] pet/index.js中删除了alert pet/petInfo.vue调用了查询getPetnoteList,之前调用接口调用错了 --- ruoyi-ui/src/api/pet/index.js | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/api/pet/index.js b/ruoyi-ui/src/api/pet/index.js index c2a27fe..44d11f3 100644 --- a/ruoyi-ui/src/api/pet/index.js +++ b/ruoyi-ui/src/api/pet/index.js @@ -10,7 +10,7 @@ params: query }) } - + //澧炲姞榄呭疇璁板綍 export function addPet(data) { @@ -48,7 +48,6 @@ //鏍规嵁瀹犵墿id鏌ヨ涓讳汉淇℃伅 export function getPetowner(id) { - alert(id) return request({ url: '/zfMaster/' + id, method: 'get', @@ -100,7 +99,7 @@ // 鏍规嵁id鏌ヨ鎵�鏈夐瓍瀹犲蹇樺綍淇℃伅 export function getPetnoteList(id) { return request({ - url: '/family/zfPetNote/' + id, + url: '/family/zfPetNote/?pid=' + id, method: 'get', }) -- Gitblit v1.9.1