add test code for reading pdf files

This commit is contained in:
RockYang
2024-06-26 18:50:48 +08:00
parent 2526feb0d9
commit 88e510d07a
11 changed files with 155 additions and 15 deletions

View File

@@ -122,7 +122,7 @@ func (h *UserHandler) Register(c *gin.Context) {
user.Power += h.App.SysConfig.InvitePower
}
if h.licenseService.GetLicense().Configs.DeCopy {
user.Username = fmt.Sprintf("用户@%d", utils.RandomNumber(6))
user.Nickname = fmt.Sprintf("用户@%d", utils.RandomNumber(6))
} else {
user.Nickname = fmt.Sprintf("极客学长@%d", utils.RandomNumber(6))
}