import { Injectable } from '@nestjs/common'; import { CoreMemberService } from '../core/CoreMemberService'; @Injectable() export class MemberAccountService { constructor(private readonly coreMemberService: CoreMemberService) {} /** * 积分分页 */ async getPointPage(data: any) { return this.coreMemberService.getPointPage(data); } /** * 账户分页 */ async getPage(data: any) { return this.coreMemberService.getPage(data); } /** * 余额分页 */ async getBalancePage(data: any) { return this.coreMemberService.getBalancePage(data); } /** * 获取数量 */ async getCount(data: any) { return this.coreMemberService.getCount(data); } /** * 获取来源类型 */ async getFromType(account_type: string) { return this.coreMemberService.getFromType(account_type); } /** * 积分数量 */ async getPointCount() { return this.coreMemberService.getPointCount(); } }