From 73d7500457564a3f5b1aae94ef18fd295e9f4f9c Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期四, 12 十二月 2024 11:38:44 +0800
Subject: [PATCH] 请求路径修改

---
 src/api/prod/rawCoalToWash.ts |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/api/prod/rawCoalToWash.ts b/src/api/prod/rawCoalToWash.ts
index 5a9e462..a207c8f 100644
--- a/src/api/prod/rawCoalToWash.ts
+++ b/src/api/prod/rawCoalToWash.ts
@@ -10,40 +10,40 @@
 
 // 查询RawCoalToWash列表
 export const getRawCoalToWashPage = (params: RawCoalToWashPageReqVO) => {
-  return request.get({ url: '/xmcpms/order-prod/wash/toWash/page', params })
+  return request.get({ url: '/xmcpms/prod/wash/toWash/page', params })
 }
 
 // 查询RawCoalToWash列表
 export const getPointList = (params: RawCoalToWashPageReqVO) => {
-  return request.get({ url: '/xmcpms/order-prod/wash/toWash/list', params })
+  return request.get({ url: '/xmcpms/prod/wash/toWash/list', params })
 }
 
 // 查询RawCoalToWash详情
 export const getRawCoalToWash = (id: number) => {
-  return request.get({ url: `/xmcpms/prod/wash/toWash/info/${id}`})
+  return request.get({ url: `/xmcpms/prod/prod/wash/toWash/info/${id}`})
 }
 
 // 新增RawCoalToWash
 export const createRawCoalToWash = (data: RawCoalToWashVO) => {
-  return request.post({ url: '/xmcpms/order-prod/wash/toWash/create', data })
+  return request.post({ url: '/xmcpms/prod/wash/toWash/create', data })
 }
 
 // 修改RawCoalToWash
 export const updateRawCoalToWash = (data: RawCoalToWashVO) => {
-  return request.put({ url: '/xmcpms/order-prod/wash/toWash/update', data })
+  return request.put({ url: '/xmcpms/prod/wash/toWash/update', data })
 }
 
 // 删除RawCoalToWash
 export const deleteRawCoalToWash = (id: number) => {
-  return request.delete({ url: '/xmcpms/order-prod/wash/toWash/delete?id=' + id })
+  return request.delete({ url: '/xmcpms/prod/wash/toWash/delete?id=' + id })
 }
 
 //导出RawCoalToWashList
 export const exportRawCoalToWash = (params) => {
-  return request.download({ url: '/xmcpms/order-prod/wash/toWash/export', params })
+  return request.download({ url: '/xmcpms/prod/wash/toWash/export', params })
 }
 
 // 下载用户导入模板
 export const importPointTemplate = () => {
-  return request.download({ url: '/xmcpms/order-prod/wash/toWash/get-import-template' })
+  return request.download({ url: '/xmcpms/prod/wash/toWash/get-import-template' })
 }

--
Gitblit v1.9.3