From c0e16dc3610da7ff5c71354185b27dd6cdca7227 Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期五, 13 十二月 2024 16:28:46 +0800
Subject: [PATCH] 接口地址配置修改

---
 src/api/prod/targetConsume.ts |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/api/prod/targetConsume.ts b/src/api/prod/targetConsume.ts
index c99d7ec..96e1b09 100644
--- a/src/api/prod/targetConsume.ts
+++ b/src/api/prod/targetConsume.ts
@@ -10,12 +10,12 @@
 
 // 查询TargetConsume列表
 export const getTargetConsumePage = (params: TargetConsumePageReqVO) => {
-  return request.get({ url: '/xmcpms/order-prod/targetConsume/page', params })
+  return request.get({ url: '/xmcpms/prod/targetConsume/page', params })
 }
 
 // 查询TargetConsume列表
 export const getPointList = (params: TargetConsumePageReqVO) => {
-  return request.get({ url: '/xmcpms/order-prod/targetConsume/list', params })
+  return request.get({ url: '/xmcpms/prod/targetConsume/list', params })
 }
 
 // 查询TargetConsume详情
@@ -25,25 +25,25 @@
 
 // 新增TargetConsume
 export const createTargetConsume = (data: TargetConsumeVO) => {
-  return request.post({ url: '/xmcpms/order-prod/targetConsume/create', data })
+  return request.post({ url: '/xmcpms/prod/targetConsume/create', data })
 }
 
 // 修改TargetConsume
 export const updateTargetConsume = (data: TargetConsumeVO) => {
-  return request.put({ url: '/xmcpms/order-prod/targetConsume/update', data })
+  return request.put({ url: '/xmcpms/prod/targetConsume/update', data })
 }
 
 // 删除TargetConsume
 export const deleteTargetConsume = (id: number) => {
-  return request.delete({ url: '/xmcpms/order-prod/targetConsume/delete?id=' + id })
+  return request.delete({ url: '/xmcpms/prod/targetConsume/delete?id=' + id })
 }
 
 //导出TargetConsumeList
 export const exportTargetConsume = (params) => {
-  return request.download({ url: '/xmcpms/order-prod/targetConsume/export', params })
+  return request.download({ url: '/xmcpms/prod/targetConsume/export', params })
 }
 
 // 下载用户导入模板
 export const importPointTemplate = () => {
-  return request.download({ url: '/xmcpms/order-prod/targetConsume/get-import-template' })
+  return request.download({ url: '/xmcpms/prod/targetConsume/get-import-template' })
 }

--
Gitblit v1.9.3