fix: 提现限制
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m39s

This commit is contained in:
luo
2026-08-13 16:51:58 +08:00
parent e86f61f3f6
commit ca748999ec
2 changed files with 3 additions and 1 deletions

View File

@@ -237,6 +237,7 @@ export type ShopCommissionSummaryItem = ShopFundSummaryItem
* 代理商资金汇总查询参数(原佣金汇总查询参数)
*/
export interface ShopFundSummaryQueryParams extends PaginationParams {
shop_id?: number // 店铺ID
shop_name?: string // 店铺名称
username?: string // 用户名
}

View File

@@ -859,7 +859,8 @@
// 调用 fund-summary 接口,通过 shop_id 过滤获取自己的数据
const res = await CommissionService.getShopFundSummary({
page: 1,
page_size: 1
page_size: 1,
shop_id: currentShopId.value
})
if (res.code === 0 && res.data.items && res.data.items.length > 0) {
// 从结果中找到当前用户的店铺数据