fix: 茅台预约接口修改。

This commit is contained in:
tianyongbao
2025-12-19 23:32:10 +08:00
parent c9541e958e
commit e02c9ecd05
4 changed files with 30 additions and 30 deletions

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询预约项目列表
export function listIitem(query) {
return request({
url: '/investprod/iitem/list',
url: '/invest/iitem/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listIitem(query) {
// 查询预约项目详细
export function getIitem(itemId) {
return request({
url: '/investprod/iitem/' + itemId,
url: '/invest/iitem/' + itemId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getIitem(itemId) {
// 新增预约项目
export function addIitem(data) {
return request({
url: '/investprod/iitem',
url: '/invest/iitem',
method: 'post',
data
})
@@ -29,7 +29,7 @@ export function addIitem(data) {
// 修改预约项目
export function updateIitem(data) {
return request({
url: '/investprod/iitem',
url: '/invest/iitem',
method: 'put',
data
})
@@ -38,7 +38,7 @@ export function updateIitem(data) {
// 删除预约项目
export function delIitem(itemId) {
return request({
url: '/investprod/iitem/' + itemId,
url: '/invest/iitem/' + itemId,
method: 'delete'
})
}
@@ -46,7 +46,7 @@ export function delIitem(itemId) {
// 刷新i茅台预约商品列表
export function refreshItem(itemId) {
return request({
url: '/investprod/iitem/refresh',
url: '/invest/iitem/refresh',
method: 'get'
})
}