|
@@ -57,9 +57,9 @@ import java.io.File;
|
|
|
import java.text.MessageFormat;
|
|
|
import java.text.ParsePosition;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
-import java.util.Calendar;
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
+import java.util.*;
|
|
|
+import java.util.function.Function;
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
@Slf4j
|
|
@@ -177,6 +177,9 @@ public class TenantActivationCodeController extends BaseController {
|
|
|
if (!update) {
|
|
|
throw new BizException("激活码已经激活");
|
|
|
}
|
|
|
+ Map<Long, String> receivers = new HashMap<>(1);
|
|
|
+ receivers.put(activationCode.getActivationUserId(), activationCode.getActivationUserId().toString());
|
|
|
+ tenantActivationCodeService.sendCancelActivationCodeMessage(receivers,tenantInfo.getName());
|
|
|
return succeed();
|
|
|
}
|
|
|
|