Porphyrins-based porous organic polymers (POP) were widely used in photocatalytic oxidation under visible light owing to their superiority in the activation of oxygen. In contrast, the efficiency is usually limited due to the fast recombination and slow electron transfer. Herein, we report the use of a trioporphyrins-based covalent triazine framework (Por-CTF) as visible-light-active photocatalyst for the coupling oxidative of amines to imines at room temperature. By incorporating the π-conjugated porphyrin building block led to the enhanced electron transport between molecules, and the extended recombination time of excited electrons. The photocatalytic efficiency of Por-CTF is superior to that of polymer in absence of triazine framework (POP-TSP), which was prepared by radical polymerization using tetra-(4-vinylphenyl) porphyrin (TSP) as monomer. Por-CTF catalyst presented excellent efficiency for various primary amines and stability. This work provides a reasonable guidance of catalyst molecular structure design for enhancing efficiency in the photocatalytic oxidation.