menu MDClub JavaScript SDK ๆ–‡ๆกฃ

UserApi.uploadMyAvatar

ๆณจๆ„๏ผš่ฏฅๆŽฅๅฃ้œ€่ฆ็™ป้™†ๅŽๆ‰่ƒฝ่ฐƒ็”จใ€‚

ไธŠไผ ๅฝ“ๅ‰็™ปๅฝ•็”จๆˆท็š„ๅคดๅƒใ€‚

ๆ–นๆณ•ๅฎšไน‰

UserApi.uploadMyAvatar(param: UploadMyAvatarParams): Promise<UserAvatarResponse>

ๅ‚ๆ•ฐ

UploadMyAvatarParams UserApi.ts:686

ๅ‚ๆ•ฐๅๅฟ…้€‰็ฑปๅž‹่ฏดๆ˜Ž
avatarๆ˜ฏFile

็”จๆˆทๅคดๅƒ

ๅ“ๅบ”

UserAvatarResponse models.ts:2120

ๅ‚ๆ•ฐๅ็ฑปๅž‹่ฏดๆ˜Ž
codenumber

ๆ— ไปปไฝ•้”™่ฏฏๆ—ถ๏ผŒ็Šถๆ€็ ไธบ 0

dataUserAvatar

UserAvatar models.ts:2094

ๅ‚ๆ•ฐๅ็ฑปๅž‹่ฏดๆ˜Ž
largestring

ๅคงๅคดๅƒๅœฐๅ€

middlestring

ไธญๅคดๅƒๅœฐๅ€

originalstring

ๅคดๅƒๅŽŸๅ›พๅœฐๅ€

smallstring

ๅฐๅคดๅƒๅœฐๅ€