diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletOutDate.js b/CatmDogd-Mall-Front-test/src/api/model/AppletOutDate.js index 88d4396..d77d72e 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletOutDate.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletOutDate.js @@ -10,9 +10,9 @@ export function listAppletOutDate(query) { } // 查询不接单日期详细 -export function getAppletOutDate(date) { +export function getAppletOutDate(id) { return request({ - url: '/model/AppletOutDate/' + date, + url: '/model/AppletOutDate/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletOutDate(data) { } // 删除不接单日期 -export function delAppletOutDate(date) { +export function delAppletOutDate(id) { return request({ - url: '/model/AppletOutDate/' + date, + url: '/model/AppletOutDate/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletPetType.js b/CatmDogd-Mall-Front-test/src/api/model/AppletPetType.js index 5c5be7b..c23510c 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletPetType.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletPetType.js @@ -10,9 +10,9 @@ export function listAppletPetType(query) { } // 查询个人宠物类型详细 -export function getAppletPetType(title) { +export function getAppletPetType(id) { return request({ - url: '/model/AppletPetType/' + title, + url: '/model/AppletPetType/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletPetType(data) { } // 删除个人宠物类型 -export function delAppletPetType(title) { +export function delAppletPetType(id) { return request({ - url: '/model/AppletPetType/' + title, + url: '/model/AppletPetType/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppletOutDate/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppletOutDate/index.vue index aa278f2..d11f1ca 100644 --- a/CatmDogd-Mall-Front-test/src/views/model/AppletOutDate/index.vue +++ b/CatmDogd-Mall-Front-test/src/views/model/AppletOutDate/index.vue @@ -75,6 +75,7 @@ +