|
|
|
@ -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); |
|
|
|
|
} |
|
|
|
|