|
@@ -326,8 +326,8 @@ export const getBrowseRecordCount = (stylistId: number) =>
|
|
*/
|
|
*/
|
|
export const getReferralDynamics = (stylistId: number) =>
|
|
export const getReferralDynamics = (stylistId: number) =>
|
|
httpGet<ReferralRes>(
|
|
httpGet<ReferralRes>(
|
|
- `/app-api/member/distribute/referralDynamics?userId=${stylistId}`,
|
|
|
|
- )
|
|
|
|
|
|
+ `/app-api/member/distribute/referralDynamics?referrerId=${stylistId}`,
|
|
|
|
+ )
|
|
/**
|
|
/**
|
|
* /app-api/member/browse-record/page 浏览记录
|
|
* /app-api/member/browse-record/page 浏览记录
|
|
* @param query
|
|
* @param query
|
|
@@ -349,7 +349,7 @@ export const getSalesOrdersCounts = (query = {}) =>
|
|
{ label: '累计成交订单数', value: res.data.orderCount ?? 0,type: 2 },
|
|
{ label: '累计成交订单数', value: res.data.orderCount ?? 0,type: 2 },
|
|
{ label: '累计成交金额', value: res.data.salesAmount ?? 0 ,type: 2},
|
|
{ label: '累计成交金额', value: res.data.salesAmount ?? 0 ,type: 2},
|
|
{ label: '历史记录', value:encodeURIComponent(JSON.stringify(res.data.history)), type: 2},
|
|
{ label: '历史记录', value:encodeURIComponent(JSON.stringify(res.data.history)), type: 2},
|
|
- { label: '其他销售信息', value: `${res.data.otherSale ?? 0}条` },
|
|
|
|
|
|
+ { label: '其他销售信息', value: `${res.data.otherSale ?? 0}条` },
|
|
],
|
|
],
|
|
}))
|
|
}))
|
|
/**
|
|
/**
|