3
0
Fork 0

## 店主及以上添加返回标记;

This commit is contained in:
cabbage 2025-09-02 16:49:23 +08:00
parent da9574f620
commit 16b6c8cfb2
1 changed files with 4 additions and 4 deletions

View File

@ -38,15 +38,15 @@ public class MemberRetailServiceImpl implements IMemberRetailService {
.pkGrade(cuMember.getPkSettleGrade())
.build()).getData();
// 会员标记0=正常会员1=V0会员2=V5会员
// 会员标记0=正常会员1=顾客2=V5会员
// 正常会员 指V1以上可以查看所有功能
// V0会员 指V0级别只有会员专区
// V5会员 指V5级别只有V5显示市场动态等
// 顾客 指V0级别只有会员专区
// 店主以及上 指V5级别只有V5显示市场动态等
int memberSign = 0;
if (EGrade.START_UP.getValue() == memberDataDTO.getGradeValue()) {
memberSign = 1;
}
if (EGrade.S_VIP.getValue() == memberDataDTO.getGradeValue()) {
if (memberDataDTO.getGradeValue() >= EGrade.VIP.getValue()) {
memberSign = 2;
}