From 38b4e2bc4303d480200fd714a69e285e1462e83e Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期三, 03 五月 2023 22:23:32 +0800
Subject: [PATCH] 修改了router/index.js中的魅宠详情 另外跳转是跳转到魅宠详情,pet/index.vue中已经修改 petInfo中route.params拿到的是pid,而不是id,之后可以拿到数据了

---
 ruoyi-ui/src/api/pet/index.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/api/pet/index.js b/ruoyi-ui/src/api/pet/index.js
index 098d00e..19fb76a 100644
--- a/ruoyi-ui/src/api/pet/index.js
+++ b/ruoyi-ui/src/api/pet/index.js
@@ -47,9 +47,9 @@
   //榄呭疇涓讳汉淇℃伅
 
   //鏍规嵁瀹犵墿id鏌ヨ涓讳汉淇℃伅
-  export function getPetowner(id,pid) {
+  export function getPetowner(id) {
     return request({
-      url: '/zfMaster/' + id + '/pid='+pid,
+      url: '/zfMaster/' + id,
       method: 'get',
     })
   }

--
Gitblit v1.9.1