Purification of oilfield fracturing wastewater is the most challenging type of oilfield wastewater treatment. In this work, a heterogeneous electrocatalytic peroxymonosulfate (PMS) system was established to treat oilfield wastewater using Co-doping induced Cu-based Ruddlesden-Popper (RP) perovskites as catalysts. Characterization results illustrated that the obtained catalysts were generated the heterojunction of LaCoO3/La2CuO4 and the Co would transfer electrons to Cu, resulting in a higher chemical oxygen demand (COD) degradation efficiency (> 80 %) of oilfield fracturing wastewater under the neutral environment. Singlet oxygen (1O2) played the main function for COD removal with analysis results of reactive oxygen species (ROS). Experimental results and theoretical calculations indicated that the reduction effect of carbon felt (GF) cathode and the redox cycle of Cu(I)/Cu(II) and Co(II)/Co(III) accelerated the activation of PMS. Moreover, the lattice oxygen participated in the generation of ROS. Significantly, the LaCoO3/La2CuO4 heterojunction displayed a higher total density of states (TDOS) value near the Fermi level, implying their favorable electron transfer for PMS activation. This study opens new avenue for resolving the challenge of oilfield fracturing wastewater pollution.