G6PD and macular retinal edema: Logistic regression analysis showed G6PD, triglyceride, cholesterol, IL-8, TNF-α, and macular edema were influencing factors for T2DM with DR.