diff --git a/src/api/StockOut/index.ts b/src/api/StockOut/index.ts index f374e22..ac561ad 100644 --- a/src/api/StockOut/index.ts +++ b/src/api/StockOut/index.ts @@ -109,7 +109,7 @@ export function Commit4CToERP(data: any) { * */ export function RejectsAndExpCheck(data: any) { return request({ - url: '/api/api/SaleOut/RejectsAndExpCheck', + url: '/api/SaleOut/RejectsAndExpCheck', method: 'post', data: data, }); diff --git a/src/api/common/index.ts b/src/api/common/index.ts index 5dcc9f3..4a53511 100644 --- a/src/api/common/index.ts +++ b/src/api/common/index.ts @@ -6,7 +6,7 @@ import request from '@/utils/request'; */ export function getQueryList(queryParams: any) { return request({ - url: '/api/api/query', + url: '/api/query', method: 'post', data: queryParams, }); @@ -14,7 +14,7 @@ export function getQueryList(queryParams: any) { export function getQueryPageList(queryParams: any) { return request({ - url: '/api/api/queryPage', + url: '/api/queryPage', method: 'post', data: queryParams, }); @@ -22,7 +22,7 @@ export function getQueryPageList(queryParams: any) { export function getQueryAccountKBList(queryParams: any) { return request({ - url: '/api/api/queryPageAccountKB', + url: '/api/queryPageAccountKB', method: 'post', data: queryParams, }); @@ -30,7 +30,7 @@ export function getQueryAccountKBList(queryParams: any) { export function getQueryAccountPageList(queryParams: any) { return request({ - url: '/api/api/queryPageAccount', + url: '/api/queryPageAccount', method: 'post', data: queryParams, });