Commit ef3d3fe9 authored by 武广's avatar 武广

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

parent c440f555
...@@ -80,7 +80,7 @@ export const merchantProductEdit = data => ...@@ -80,7 +80,7 @@ export const merchantProductEdit = data =>
}); });
export const supplierListQuery = () => export const supplierListQuery = () =>
request.get('/api/merchants/suppliers/list', { request.get('/api/merchants/suppliers/querylist', {
prefix: config.kdspApi, prefix: config.kdspApi,
headers, headers,
}); });
......
...@@ -32,7 +32,7 @@ export async function query(params) { ...@@ -32,7 +32,7 @@ export async function query(params) {
} }
} }
export async function supplier() { 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, prefix: config.kdspApi,
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded', 'Content-Type': 'application/x-www-form-urlencoded',
......
...@@ -36,7 +36,7 @@ export async function query(params) { ...@@ -36,7 +36,7 @@ export async function query(params) {
} }
} }
export async function supplier() { 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, prefix: config.kdspApi,
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded', '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