赠送徽章不校验权限

This commit is contained in:
tianfeng 2025-11-03 18:23:23 +08:00
parent bbc20528fd
commit 61cfebbfe3

View File

@ -125,7 +125,10 @@ public class PropsGiveServiceImpl implements PropsGiveService {
ResponseAssert.isFalse(UserErrorCode.USER_INFO_NOT_FOUND, StringUtils.isBlank(sysOrigin));
// 后台赠送道具校验权限
checkUserAccountAlias(cmd);
if (!"BADGE".equals(cmd.getType())) {
checkUserAccountAlias(cmd);
}
if (Objects.equals(cmd.getType(), PropsActivityRewardEnum.PROPS.name())) {