To improve the reliability and lifespan of wind turbines, this paper takes the two-stage fixed shaft gearbox experimental platform of wind turbines as the research object. Based on Hertz contact theory, the oil film pressure and thickness in the contact area are solved by combining the equations of elastohydrodynamic lubrication and the Newton Raphson method; And the lubrication characteristics of the transmission system were analyzed to verify the correctness of the method; At the same time, in response to partial load phenomenon caused by system coupling deformation, genetic algorithm was selected to modify the gear teeth. The results show that the max unit load on the tooth face and the maximum stress of tooth root decreased by up to 26.48 % and up to 20.35 % respectively after modification which can improve the uneven distribution of oil film and the lubrication performance of the tooth surface.