feat: 대시보드에 인증일 컬럼 추가
- 테이블 헤더에 '인증' 컬럼 추가 - 카카오 인증자: 노란 뱃지 + 인증일 (updated_at) - 미인증: 회색 '미인증' 뱃지
This commit is contained in:
@@ -1840,7 +1840,7 @@ def admin():
|
||||
|
||||
# 최근 가입 사용자 (20명)
|
||||
cursor.execute("""
|
||||
SELECT id, nickname, phone, mileage_balance, created_at
|
||||
SELECT id, nickname, phone, mileage_balance, created_at, updated_at
|
||||
FROM users
|
||||
ORDER BY created_at DESC
|
||||
LIMIT 20
|
||||
@@ -1852,6 +1852,7 @@ def admin():
|
||||
for user in recent_users_raw:
|
||||
user_dict = dict(user)
|
||||
user_dict['created_at'] = utc_to_kst_str(user['created_at'])
|
||||
user_dict['updated_at'] = utc_to_kst_str(user['updated_at']) if user['updated_at'] else None
|
||||
recent_users.append(user_dict)
|
||||
|
||||
# 최근 적립 내역 (50건)
|
||||
|
||||
Reference in New Issue
Block a user