优化快手电子凭证:客服核销页、店铺展示与筛选

- 客服角色仅展示「券码核销」Tab,本地列表直接核销
- 卖家列改为店铺名+ID 展示,并返回 shopName
- 新增轻量店铺列表接口,支持按店铺下拉筛选
- 修复 asRecord 空值导致的前端构建类型错误
This commit is contained in:
yml2213
2026-07-10 17:46:40 +08:00
parent 7aeaafbe75
commit 36fb994acd
6 changed files with 414 additions and 139 deletions
@@ -4,6 +4,7 @@ import type {
AdminKuaishouIndustryRefundApprovePayload,
AdminKuaishouIndustryRefundDisagreePayload,
AdminKuaishouIndustryRefundListPayload,
AdminKuaishouIndustryShopListResult,
AdminKuaishouIndustryVoucherConsumeResult,
AdminKuaishouIndustryVoucherListResult,
AdminKuaishouIndustryVoucherResendResult,
@@ -17,6 +18,10 @@ export function fetchAdminKuaishouIndustryVouchers(params?: Record<string, unkno
)
}
export function fetchAdminKuaishouIndustryShops() {
return apiGet<AdminKuaishouIndustryShopListResult>('/api/v1/admin/kuaishou-industry/shops')
}
export function listAdminKuaishouIndustryRefunds(
payload: AdminKuaishouIndustryRefundListPayload,
) {