diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletAddress.js b/CatmDogd-Mall-Front-test/src/api/model/AppletAddress.js new file mode 100644 index 0000000..57ff411 --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletAddress.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询地址信息列表 +export function listAppletAddress(query) { + return request({ + url: '/model/AppletAddress/list', + method: 'get', + params: query + }) +} + +// 查询地址信息详细 +export function getAppletAddress(area) { + return request({ + url: '/model/AppletAddress/' + area, + method: 'get' + }) +} + +// 新增地址信息 +export function addAppletAddress(data) { + return request({ + url: '/model/AppletAddress', + method: 'post', + data: data + }) +} + +// 修改地址信息 +export function updateAppletAddress(data) { + return request({ + url: '/model/AppletAddress', + method: 'put', + data: data + }) +} + +// 删除地址信息 +export function delAppletAddress(area) { + return request({ + url: '/model/AppletAddress/' + area, + method: 'delete' + }) +} diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletConfig.js b/CatmDogd-Mall-Front-test/src/api/model/AppletConfig.js new file mode 100644 index 0000000..eda10d3 --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletConfig.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询配置信息列表 +export function listAppletConfig(query) { + return request({ + url: '/model/AppletConfig/list', + method: 'get', + params: query + }) +} + +// 查询配置信息详细 +export function getAppletConfig(paramCode) { + return request({ + url: '/model/AppletConfig/' + paramCode, + method: 'get' + }) +} + +// 新增配置信息 +export function addAppletConfig(data) { + return request({ + url: '/model/AppletConfig', + method: 'post', + data: data + }) +} + +// 修改配置信息 +export function updateAppletConfig(data) { + return request({ + url: '/model/AppletConfig', + method: 'put', + data: data + }) +} + +// 删除配置信息 +export function delAppletConfig(paramCode) { + return request({ + url: '/model/AppletConfig/' + paramCode, + method: 'delete' + }) +} diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletOutDate.js b/CatmDogd-Mall-Front-test/src/api/model/AppletOutDate.js new file mode 100644 index 0000000..88d4396 --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletOutDate.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询不接单日期列表 +export function listAppletOutDate(query) { + return request({ + url: '/model/AppletOutDate/list', + method: 'get', + params: query + }) +} + +// 查询不接单日期详细 +export function getAppletOutDate(date) { + return request({ + url: '/model/AppletOutDate/' + date, + method: 'get' + }) +} + +// 新增不接单日期 +export function addAppletOutDate(data) { + return request({ + url: '/model/AppletOutDate', + method: 'post', + data: data + }) +} + +// 修改不接单日期 +export function updateAppletOutDate(data) { + return request({ + url: '/model/AppletOutDate', + method: 'put', + data: data + }) +} + +// 删除不接单日期 +export function delAppletOutDate(date) { + return request({ + url: '/model/AppletOutDate/' + date, + method: 'delete' + }) +} diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppUsers/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppUsers/index.vue index aaf087a..04f1c0b 100644 --- a/CatmDogd-Mall-Front-test/src/views/model/AppUsers/index.vue +++ b/CatmDogd-Mall-Front-test/src/views/model/AppUsers/index.vue @@ -1,33 +1,33 @@