分享链接格式通用fixed/ev

This commit is contained in:
2025-05-19 11:20:08 +08:00
parent 777eb87dee
commit ce082d323a

View File

@@ -591,7 +591,7 @@ public class UserEventServiceImpl extends ServiceImpl<UserEventMapper, UserEvent
Users users = usersService.getUsersByUid(uid);
PartitionEnum partitionEnum = PartitionEnum.getByPartitionId(users.getPartitionId());
Map<String, String> linkMap = JSONObject.parseObject(link, Map.class);
link = String.format("%s/%s?c=%s&lang=%s", linkMap.get(deviceInfo.getOs().toLowerCase()), encode, eventId.toString(), partitionEnum.getLang());
link = String.format("%s/ev/%s?c=%s&lang=%s", linkMap.get(deviceInfo.getOs().toLowerCase()), encode, eventId.toString(), partitionEnum.getLang());
String message = I18NMessageSourceUtil.getMessage(I18nAlertEnum.USER_EVENT_SHARE_TEXT, new Object[]{link}, uid);
return BusiResult.success(message);
}