feat: 注册用户的时候带上职位
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user