diff --git a/src/api/store.ts b/src/api/store.ts index 4bff7a9..967f005 100644 --- a/src/api/store.ts +++ b/src/api/store.ts @@ -217,4 +217,11 @@ export interface IGetStoreIncomeListParams { export function getStoreIncomeList(data: IGetStoreIncomeListParams) { return http.Post('/storeapi/user/checkStoreAccountList', data) +} + +/** + * 扫码验券 + */ +export function scanVerifyCoupon(qr_sn: string, store_id: number) { + return http.Post('/storeapi/group/cancelCode', { qr_sn, store_id }) } \ No newline at end of file diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index a98ae65..dc8837e 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -27,19 +27,20 @@ - - 本月收入 - - + + + 本月收入 + + + + + + - - - - - + 下单金额 @@ -48,7 +49,7 @@ - + 核销金额 @@ -125,8 +126,9 @@