From e89144afb4e36211dcb837ee596ca4350ce8f40a Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 30 May 2022 14:28:19 +0800 Subject: [PATCH] =?UTF-8?q?src/assets/api=20=E6=96=B0=E5=A2=9E=20=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E9=A2=84=E8=AD=A6=E4=BA=BA=E6=8E=A5=E5=8F=A3=20=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E8=8C=83=E5=9B=B4=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=88=A0=E9=99=A4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/api.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/assets/api.js b/src/assets/api.js index b2463e66..f2a33408 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -409,7 +409,7 @@ export const getCodeProductList = (params) => { } //删除商品库存信息 -export const delCodeProduct = (batch_id, id) => { +export const delCodeProduct = (id) => { return req('delete', baseurl + '/codes/products/' + id) } @@ -865,4 +865,9 @@ export const getDirectList = (data) => { return req('get', baseurl + '/reseller/direct', data) } +// 获取预警人 +export const getVoucherWarningAccount = () => { + return req('get', baseurl + '/auth/admin/voucherWarningAccount') +} + export { req }