feat: 注册用户的时候带上职位

This commit is contained in:
martsforever
2025-10-29 21:51:43 +08:00
parent 02b8561345
commit df72ce8577
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -44,6 +44,7 @@ def add_user_route(app: FastAPI):
hash_password = CryptUtils.get_password_hash(registry_user.password)
user = UserModel(
username=registry_user.username,
pos_code=registry_user.pos_code,
email=registry_user.email,
full_name=registry_user.full_name,
hash_password=hash_password,