视频会议
This commit is contained in:
@@ -315,7 +315,7 @@ func (s *MeetingService) assignCloudLawDefaultRole(ctx context.Context, userID i
|
|||||||
}
|
}
|
||||||
|
|
||||||
func cloudLawUsername(phone string) string {
|
func cloudLawUsername(phone string) string {
|
||||||
accountKey := strings.NewReplacer("+", "", "-", "", " ", "", "(", "", ")").Replace(phone)
|
accountKey := strings.NewReplacer("+", "", "-", "", " ", "", "(", "", ")", "").Replace(phone)
|
||||||
accountKey = strings.TrimSpace(accountKey)
|
accountKey = strings.TrimSpace(accountKey)
|
||||||
if accountKey == "" {
|
if accountKey == "" {
|
||||||
accountKey = strings.ReplaceAll(uuid.New().String(), "-", "")[:12]
|
accountKey = strings.ReplaceAll(uuid.New().String(), "-", "")[:12]
|
||||||
|
|||||||
Reference in New Issue
Block a user