แก้ image

This commit is contained in:
kittapath 2024-12-26 20:09:39 +07:00
parent 3e5788f0f4
commit ab9c8a34eb
3 changed files with 9 additions and 8 deletions

View file

@ -281,7 +281,7 @@ export class ProfileEmployeeTempController extends Controller {
: "-",
ocFullPath: `${_child4}${_child3}${_child2}${_child1}${_root}`,
educations: Education,
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_SSO}/assets/avatar_user-89f22423.jpg`,
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_MGT}/assets/avatar_user-89f22423.jpg`,
};
return new HttpSuccess({
@ -719,7 +719,7 @@ export class ProfileEmployeeTempController extends Controller {
: "",
telephone:
profiles.telephoneNumber != null ? Extension.ToThaiNumber(profiles.telephoneNumber) : "",
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_SSO}/assets/avatar_user-89f22423.jpg`,
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_MGT}/assets/avatar_user-89f22423.jpg`,
url1: _ImgUrl[0] ? _ImgUrl[0] : null,
yearUpload1: profiles.profileAvatars[0]
? Extension.ToThaiNumber(Extension.ToThaiShortYear(profiles.profileAvatars[0].createdAt))