Commit 1b93825f authored by liudong1993's avatar liudong1993

1

parent a7d45fc7
......@@ -792,6 +792,7 @@ namespace Mall.Module.User
var qlist = member_EquityRepository.GetList(new RB_Member_Equity_Extend() { GradeId = memberGradeId, TenantId = userInfo.TenantId, MallBaseId = userInfo.MallBaseId });
return ApiResult.Success("", new
{
gradeModel.Id,
GradeName = gradeModel.Name ?? "暂无等级",
Icon = material_InfoRepository.GetEntity(gradeModel.Icon ?? 0)?.Path ?? "",
BackgroundImage = material_InfoRepository.GetEntity(gradeModel.BackgroundImage ?? 0)?.Path ?? "",
......@@ -799,6 +800,7 @@ namespace Mall.Module.User
Grade = gradeModel.Grade ?? 0,
IsCanBuyVip = (umodel.MemberGrade ?? 0) > 0 ? 2 : 1,
gradeModel.MemberSpecification,
gradeModel.MemberBuyMoney,
//获取权益列表
EquityList = qlist.Select(x => new
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment