프로필 이미지 기능 수정

This commit is contained in:
hyeonsu
2025-08-28 10:05:06 +09:00
parent 00ce90a9f0
commit 49f812f444
8 changed files with 128 additions and 19 deletions

View File

@@ -146,6 +146,8 @@ export class AuthService {
user_type_name: true,
partner_objid: true,
company_code: true,
locale: true,
photo: true,
},
});
@@ -189,6 +191,8 @@ export class AuthService {
partnerObjid: userInfo.partner_objid || undefined,
authName: authInfo.length > 0 ? authInfo[0].auth_name : undefined,
companyCode: userInfo.company_code || "ILSHIN",
photo: userInfo.photo ? `data:image/jpeg;base64,${userInfo.photo.toString('base64')}` : undefined,
locale: userInfo.locale || "KR",
};
logger.info(`사용자 정보 조회 완료: ${userId}`);