|
|
@ -18,6 +18,7 @@ import awesome.group.game.service.common.exception.PaganiExceptionCode; |
|
|
|
import awesome.group.game.service.util.DateUtil; |
|
|
|
import awesome.group.game.service.util.EncryptUtil; |
|
|
|
import com.google.gson.Gson; |
|
|
|
import org.apache.commons.lang.RandomStringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.context.annotation.Lazy; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -103,6 +104,7 @@ public class UserService { |
|
|
|
user = new MatrixUser(); |
|
|
|
user.setAppId(app.getId()); |
|
|
|
user.setMobile(mobile); |
|
|
|
user.setInviteCode(RandomStringUtils.randomAlphabetic(12)); |
|
|
|
userMapper.insert(user); |
|
|
|
} |
|
|
|
return user; |
|
|
|