This work demonstrates that the introduction of ILs into COF system can significantly improve the artificial photosynthesis diluted CO2 reduction activity. Furthermore, it provides a novel and promising strategy towards the practical application of solar photocatalysis for directly enriching and converting diluted CO2 to fuels with industrial exhaust gas.