This commit is contained in:
@@ -237,6 +237,7 @@ export type ShopCommissionSummaryItem = ShopFundSummaryItem
|
||||
* 代理商资金汇总查询参数(原佣金汇总查询参数)
|
||||
*/
|
||||
export interface ShopFundSummaryQueryParams extends PaginationParams {
|
||||
shop_id?: number // 店铺ID
|
||||
shop_name?: string // 店铺名称
|
||||
username?: string // 用户名
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
// 从结果中找到当前用户的店铺数据
|
||||
|
||||
Reference in New Issue
Block a user