No, a eunuch does not undergo genital reconstruction surgery. He is castrated (there are many ways to perform a castration and they don't mention any specifics). It just means they surgically tried to make it impossible for him to ejaculate from his penis (meaning he wouldn't "normally" be able to have sex with any of the women in the palace and would be "safe" to keep as a servant). However, it seems the surgery failed and his penis is just fine
Okay but um... does the uke have a v*gina ????