feat: 暂时不请求

This commit is contained in:
eleanor.mao 2025-05-20 00:57:13 +08:00
parent 2585f88774
commit 9d6c89e0b6

View File

@ -61,8 +61,9 @@ export const getInviteCode = async () => {
return inviteCode;
};
export const getProfitList = async (data: GetProfitRequest) => {
const result = await http.post<PartnerProfitItem[]>(API.GET_PROFIT_LIST, { data });
return Array.isArray(result) ? result : [];
// const result = await http.post<PartnerProfitItem[]>(API.GET_PROFIT_LIST, { data });
// return Array.isArray(result) ? result : [];
return [];
};
export const formatMoney = (cents: number) => {
if (!cents) {