From a4e6c445065aeddbc47802ab20ba9a368659afbc Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Mon, 5 Feb 2024 15:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E9=A2=84=E6=94=AF=E7=A7=AF=E5=88=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 4 ++++ pages/admin/custom/index.vue | 39 ++++++++++++++++++++++++++++++++++-- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/api/user.js b/api/user.js index 503b79f..4a92dd9 100644 --- a/api/user.js +++ b/api/user.js @@ -691,6 +691,10 @@ export function getCustomList(merId, data) { export function customIntegralChange(merId, data) { return request.post("custom/integral_change/"+merId, data); } +// 客户管理 - 预支积分 +export function advanceExchangeIntegral( data) { + return request.post("custom/advance_exchange_integral", data); +} // 积分中心 - 获取商户积分记录 export function getMerchantIntegral(data) { return request.post("user/integral/mer_list", data); diff --git a/pages/admin/custom/index.vue b/pages/admin/custom/index.vue index 677983f..ecee6b9 100644 --- a/pages/admin/custom/index.vue +++ b/pages/admin/custom/index.vue @@ -18,10 +18,11 @@ {{ item.nickname }} {{ item.uid }} - 积分:{{ item.merchant_integral }} + 已预支积分:{{ item.advance_exchange_integral }} + 预支积分 @@ -67,7 +68,8 @@