Commit ef3d3fe9 authored by 武广's avatar 武广

fix: 修改供应商查询接口地址

parent c440f555
......@@ -80,7 +80,7 @@ export const merchantProductEdit = data =>
});
export const supplierListQuery = () =>
request.get('/api/merchants/suppliers/list', {
request.get('/api/merchants/suppliers/querylist', {
prefix: config.kdspApi,
headers,
});
......
......@@ -32,7 +32,7 @@ export async function query(params) {
}
}
export async function supplier() {
const { data } = await request.get('/api/merchants/suppliers/list', {
const { data } = await request.get('/api/merchants/suppliers/querylist', {
prefix: config.kdspApi,
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
......
......@@ -36,7 +36,7 @@ export async function query(params) {
}
}
export async function supplier() {
const { data } = await request.get('/api/merchants/suppliers/list', {
const { data } = await request.get('/api/merchants/suppliers/querylist', {
prefix: config.kdspApi,
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment