|
|
@ -68,7 +68,6 @@ def get_user_info_list():
|
|
|
|
@user_router.route("/add", methods=["GET", "POST"])
|
|
|
|
@user_router.route("/add", methods=["GET", "POST"])
|
|
|
|
@token_auth.login_required
|
|
|
|
@token_auth.login_required
|
|
|
|
def add_user_info():
|
|
|
|
def add_user_info():
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
obj = EntityUser(
|
|
|
|
obj = EntityUser(
|
|
|
|
real_name=request.values.get("real_name"),
|
|
|
|
real_name=request.values.get("real_name"),
|
|
|
@ -76,6 +75,7 @@ def add_user_info():
|
|
|
|
sex=request.values.get("sex"),
|
|
|
|
sex=request.values.get("sex"),
|
|
|
|
email=request.values.get("email"),
|
|
|
|
email=request.values.get("email"),
|
|
|
|
user_code=request.values.get("user_code"),
|
|
|
|
user_code=request.values.get("user_code"),
|
|
|
|
|
|
|
|
role_name=request.values.get("role_name"),
|
|
|
|
qq=request.values.get("qq"),
|
|
|
|
qq=request.values.get("qq"),
|
|
|
|
role_id=request.values.get("role_id"),
|
|
|
|
role_id=request.values.get("role_id"),
|
|
|
|
is_enabled=request.values.get("is_enabled")
|
|
|
|
is_enabled=request.values.get("is_enabled")
|
|
|
|