From 078b097fc44169b9a9ef65e4581f8aa4413fa701 Mon Sep 17 00:00:00 2001 From: yangsanTT <812952667@qq.com> Date: Tue, 11 May 2021 22:50:21 +0800 Subject: [PATCH] =?UTF-8?q?1=E5=AF=B9=E6=8E=A5=E6=B5=81=E6=B0=B4=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/Api.js | 20 +++- pages/login/login.vue | 2 +- pages/user/minePromotion/minePromotion.vue | 8 +- pages/user/runningWater/runningWater.vue | 125 +++++++++++++++++++-- 4 files changed, 143 insertions(+), 12 deletions(-) diff --git a/Utils/Api.js b/Utils/Api.js index c3b27ab..de7dfb9 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -127,6 +127,15 @@ export const getDiscountByUserDiscountId = params => { export const getUserNormalDiscountList = params => { return POST('GET', `${base}/userDiscount/getUserNormalDiscountList`, params).then(res => res.data); } +//修改密码 +export const sendUserPass = params => { + return POST('GET', `${base}/secUser/sendUserPass`, params).then(res => res.data); +} + + + + + //**门店// export const userLogin = params => { @@ -137,6 +146,8 @@ export const useCouponCode = params => { return POSTBREST('POST', `${brestBase}/couponCode/useCouponCode`, params).then(res => res.data); } + + //**代理商// export const getAgentCount = params => { return POSTBREST('GET', `${brestBase}/highCouponAgent/getAgentCount`, params).then(res => res.data); @@ -153,4 +164,11 @@ export const generateCode = params => { export const getCodeById = params => { return POSTBREST('GET', `${brestBase}/highCouponAgent/getCodeById`, params).then(res => res.data); } - +// 查看流水 +export const getAgentSalesCodeList = params => { + return POSTBREST('GET', `${brestBase}/highCouponAgent/getAgentSalesCodeList`, params).then(res => res.data); +} +//查询流水总价格 +export const getAgentSalesPriceCount = params => { + return POSTBREST('GET', `${brestBase}/highCouponAgent/getAgentSalesPriceCount`, params).then(res => res.data); +} diff --git a/pages/login/login.vue b/pages/login/login.vue index 590dafd..9b0d5db 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -19,7 +19,7 @@ 登 录 - 重置密码 + diff --git a/pages/user/minePromotion/minePromotion.vue b/pages/user/minePromotion/minePromotion.vue index 047588e..bafcbc1 100644 --- a/pages/user/minePromotion/minePromotion.vue +++ b/pages/user/minePromotion/minePromotion.vue @@ -1,7 +1,7 @@