package com.hzs.member.base.provider;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.member.detail.CuMemberLevel;
import com.hzs.member.base.IMemberLevelServiceApi;
import com.hzs.member.detail.service.ICuMemberLevelService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Description: 会员等级相关dubbo服务
 * @Author: jiang chao
 * @Time: 2025/2/27 9:25
 * @Classname: MemberLevelServiceProvider
 * @PackageName: com.hzs.member.base.provider
 */
@DubboService
public class MemberLevelServiceProvider implements IMemberLevelServiceApi {

    @Autowired
    private ICuMemberLevelService iCuMemberLevelService;

    @Override
    public R<List<CuMemberLevel>> listMemberLevel(Long pkMember, Long pkOrder) {
        return R.ok(iCuMemberLevelService.listMemberLevel(pkMember, pkOrder));
    }
}
