feat: 会员积分

This commit is contained in:
xingyu4j
2025-05-28 20:59:02 +08:00
parent 0b3b5799ea
commit d1ae887eba
9 changed files with 402 additions and 25 deletions

View File

@@ -0,0 +1,25 @@
import type { PageParam, PageResult } from '@vben/request';
import { requestClient } from '#/api/request';
export namespace MemberAddressApi {
/** 收件地址信息 */
export interface Address {
id?: number;
name: string;
mobile: string;
areaId: number;
detailAddress: string;
defaultStatus: boolean;
}
}
/** 查询用户收件地址列表 */
export function getAddressList(params: PageParam) {
return requestClient.get<PageResult<MemberAddressApi.Address>>(
'/member/address/list',
{
params,
},
);
}