diff --git a/backend/app.py b/backend/app.py index fd96c02..a3ff3ca 100644 --- a/backend/app.py +++ b/backend/app.py @@ -1388,7 +1388,8 @@ def admin_user_detail(user_id): 'name': user['nickname'], 'phone': user['phone'], 'balance': user['mileage_balance'], - 'created_at': utc_to_kst_str(user['created_at']) + 'created_at': utc_to_kst_str(user['created_at']), + 'is_kakao_verified': user['nickname'] != '고객' # 카카오 인증 여부 }, 'mileage_history': [ { @@ -1474,7 +1475,8 @@ def admin_search_user(): 'id': row['id'], 'name': row['nickname'], 'phone': row['phone'], - 'balance': row['mileage_balance'] + 'balance': row['mileage_balance'], + 'is_kakao_verified': row['nickname'] != '고객' # 카카오 인증 여부 } for row in results] return jsonify({ diff --git a/backend/templates/admin.html b/backend/templates/admin.html index b7602a9..1115bb6 100644 --- a/backend/templates/admin.html +++ b/backend/templates/admin.html @@ -849,7 +849,10 @@