1 Introduction

Printing and dyeing wastewater, as a kind of industrial wastewater, has a large discharge. According to statistics, every year the textile field of sewage discharge up to more than 900 million tons. Sewage discharge accounts for the sixth place in the total amount of industrial wastewater. Among them, the main component of textile industry wastewater is printing and dyeing wastewater. Therefore, the treatment of printing and dyeing wastewater mainly affects the treatment effect of textile wastewater. Printing and dyeing wastewater has many components, often containing slurry, auxiliaries and fuels, high chroma, toxic and harmful, difficult to dispose. Direct discharge without treatment or improper treatment will seriously damage the ecological environment, threaten human health [1]. Traditional wastewater treatment methods include physical methods, advanced oxidation methods and biological methods. Photocatalytic technology can effectively decompose pollutants, is a green environmental protection treatment technology. It has the advantages of low energy consumption, easy operation, mild reaction conditions, and no secondary pollution [2]. Photocatalysis has attracted the attention of many researchers around the world since 1972 when the study of photocatalytic decomposition of water under ultraviolet light was reported on a single crystal TiO2 electrode [3]. Wide-band gap semiconductor materials such as TiO2 and ZnO have been extensively studied. But they react only in violet light and are not very efficient, which also hampers their use [4]. After decades of exploration and development, a large number of new semiconductor photocatalysts have been developed, such as metal oxide [5,6,7], metal sulfide [8, 9], silver halide [10, 11], silver phosphate [12, 13], layered bismuth oxyhalide [14, 15], and so on. New semiconductor photocatalysts can form a suitable bandwidth and use sunlight more efficiently.

In 2009, the team of Wang Xinchen [16] reported a kind of graphite-structured layered material for the first time, which was named graphite-phase carbon nitride (g-C3N4). It has a band gap of 2.7 eV. It shows a very strong ability of oxidation and photocatalytic decomposition of organic matter under visible light irradiation, which has been widely paid attention to by researchers [17]. However, the g-C3N4 has some shortcomings that make its photocatalytic effect poor. For example, its specific surface area is relatively small, and the photo-generated electron-holes are easy to recombine. These shortcomings make it unable to stand alone in the field of photocatalysis. For this reason, researchers have tried many methods to improve the photocatalytic activity of g-C3N4.Such as element doping [18, 19], precious metal deposition [20, 21], and semiconductor compounding [22, 23]. At present, two-dimensional (2D) materials can be used in many places, including the field of photocatalysis by their super large specific surface area and suitable forbidden band width. It is one of the frontiers of research. The 2D MoS2 has attracted much attention due to its excellent properties, good electrical conductivity, and narrow band gap. In addition, because it has a unique energy band structure and good lattice matching, MoS2 matches well with g-C3N4, which can effectively accelerate the transfer of electrons and holes [24]. Yan et al. [25] used the ball milling method to compound g-C3N4 with MoS2 to disintegrate pollutants under visible light irradiation, which significantly improved the photocatalytic activity of semiconductor materials. Experimental facts have proved that the combination of g-C3N4 and MoS2 can effectively promote the separation rate of photogenerated electron–hole pairs and improve the photocatalytic activity of g-C3N4. Ge et al. [26] loaded MoS2 on the surface of g-C3N4 by the impregnation-calcination method, of which 0.5% (w/w) MoS2/g-C3N4 photocatalytic hydrogen production activity was the best, which was about 11.3 times that of single g-C3N4. Li et al. [27] used the chemical ultrasonic method to prepare g-C3N4/MoS2 composite catalyst successfully. The results showed that the addition of MoS2 significantly improved the catalytic activity of g-C3N4 on Rh B and methylene blue under visible light. A large number of experiments show that MoS2 is a good promoter.

In this paper, the g-C3N4/MoS2 composite was prepared by a simple ultrasonic composite method. Compared with the paper listed in this paper, the main advantage is the preparation process is simple, easy to control, and as far as possible to avoid a series of uncontrollable factors. Its photocatalytic performance was verified by the degradation rate of Rh B under visible light irradiation. The crystal structure, microstructure and luminescence properties of the samples were characterized and analyzed by X-ray diffraction (XRD), scanning electron microscopy (SEM), transmission electron microscopy (TEM), X-ray photoelectron spectroscopy (XPS), ultraviolet–visible spectroscopy (UV–Vis), and photoluminescence (PL). The mechanism of photocatalytic degradation was further discussed by capturing active substances.

2 Experiment

2.1 Preparation of Photocatalysts

Melamine, Rh B and ethanol were purchased from Sinopharm Chemical Reagent Co., Ltd (China). All reagents were at the analytical level. They were used without any further purification.

The g-C3N4 powder was prepared by thermal polymerization with melamine as raw material. 10 g of melamine powder was heated to 550 °C in a muffle furnace at the rate of 5 °C min−1 for 5 h. At the end of the reaction, the g-C3N4 powder was obtained by grinding.

MoS2 nanosheets were prepared by the one-step hydrothermal method. Firstly, 0.28 mmol ammonium molybdate and 10 mmol thiourea were dissolved in 10 mL of deionized water. After magnetic stirring for 30 min, the solution was fully dissolved into a uniform solution by ultrasound for 30 min. Secondly, poured the solution into a 50 mL high-pressure reactor. After sealing, the reaction kettle was placed in the electric heating blast drying oven for hydrothermal reaction. The temperature was set at 200 °C, and the time was set at 10 h. Thirdly, the precipitate was cleaned repeatedly with deionized water and anhydrous ethanol. Finally, the precipitate was dried in a 60 ℃ oven for 10 h to collect black MoS2 powder.

The g-C3N4/MoS2 composite was prepared by a simple ultrasonic composite method. Firstly, 0.2 g g-C3N4 powder and 0.025 g MoS2 powder were weighed and put into anhydrous ethanol. Secondly, the temperature was controlled at 40 °C, and ultrasonic concussion for 1.5 h [27]. Then, the solution was fully stirred in a blender for 36 h. Let the product stand and pour out the supernatant. Finally, the precipitate was put into the oven to dry at 80 °C for 10 h, and the g-C3N4/MoS2-8 composite was collected. The composite materials with mass ratios of 4:1, 6:1, 10:1, 12:1, and 14:1 were prepared according to the above scheme, which were, respectively called g-C3N4/MoS2-4, g-C3N4/MoS2-6, g-C3N4/MoS2-10, g-C3N4/MoS2-12, and g-C3N4/MoS2-14.

2.2 Sample Characterization

After preparing g-C3N4, MoS2, g-C3N4/MoS2 nanomaterials. X-ray diffractometer (XRD, D/MAX2400, Rigaku Company, Japan, radiation source Cu Kα, tube voltage 40 kV, tube current 30 mA), scanning electron microscope (SEM, Hitachi TM3000, Japan), transmission electron microscope (TEM, Fei Talos F200S Super-X spectrometer), X-ray photoelectron spectroscopy (XPS, Thermo Scientific, Escalab XI + type XPS, Al target), UV–Vis spectrometer (UV–Vis, Shimazu UV3600 Plus) and fluorescence spectroscopy (PL, Yokohama C9920-02G) were used to characterize the composition, morphology and light absorption properties of the materials.

2.3 Photocatalytic Tests

The photocatalytic performance of the samples was obtained by the photodegradation pathway of Rh B under visible light irradiation. A 500 W long arc xenon lamp with an AM 1.5 filter (100 mW cm−2) was employed to simulate the visible light source. The 50 mg catalyst was dispersed in 50 mL of Rh B solution (the concentration of Rh B was 10 mg L−1), and the photocatalyst was stirred with the Rh B solution in the dark for at least 30 min to ensure the adsorption–desorption equilibrium. In the process of photoreaction for 120 min, the concentration of pollutants was analyzed by UV–Vis spectrophotometer after extracting 4 mL of suspension each time and centrifugation. The wavelength range of Rh B was 450–600 nm.

3 Results and Discussion

3.1 XRD Analyses

Figure 1 shows the XRD pattern of g-C3N4, MoS2, and g-C3N4 /MoS2-8 complexes. For bulk phase pure MoS2, the diffraction peaks with 2θ angles of 14.4°, 32.7°, 35.8° and 58.4° matched the (002), (100), (102), and (110) crystal faces of hexagonal MoS2(JCPDS No. 37-1492) [28]. Pure g-C3N4 and g-C3N4/MoS2-8 complexes have two broadened diffraction peaks at 2θ angles of 13.0° and 27.6°, which are characteristic peaks of g-C3N4. They correspond to its (100) and (002) crystal faces [29]. The (002) diffraction peak of the g-C3N4/MoS2-8 composite is weaker than g-C3N4. This indicates that MoS2 does not change the lattice of g-C3N4. There is no obvious diffraction peak of MoS2 in g-C3N4/MoS2-8, which may be due to the low content of MoS2. Fig. S1 shows the XRD patterns of all samples. All the complexes have the characteristic peak of g-C3N4, and the diffraction peak of the g-C3N4/MoS2-8 complex is the weakest at 27.6°. It indicates that the crystallinity of g-C3N4 is low, and MoS2 has been well compounded with g-C3N4.

Fig. 1
figure 1

XRD patterns of g-C3N4, g-C3N4/MoS2 composite, and MoS2

3.2 SEM and TEM Analyses

The microstructure of the g-C3N4, MoS2, and g-C3N4/MoS2-8 were examined by SEM and transmission electron microscopy. Figure 2a shows the scanning electron microscope image of the g-C3N4. The aggregation structure of unevenly curved nanosheets with some pores, which may be caused by the release of gas during high temperature aggregation. Figure 2b shows the SEM figure of the MoS2, from which it can be seen that the nano-flake MoS2 is curved and curled up into a spherical shape. Figure 2c shows the SEM image of the g-C3N4 /MoS2-8. It can be seen from the figure that the relatively flat g-C3N4 nanosheets and the original flower-like MoS2 nanosheets disappear and become porous and small-area lamellate structures. Particularly, the phenomenon of clustering is obvious. The morphology of the g-C3N4/MoS2 composites was further studied by TEM and HRTEM images. Figure 2d shows there are two kinds of nanosheets superposed together. Figure 2e shows 0.62 nm lattice spacing appears in the composite material, which can be attributed to the (002) crystal plane of MoS2 [30]. The existence of MoS2 is also proved. The test of sample element mapping was carried out on the composite material, as shown in Fig. 2f, and the elements of carbon, nitrogen, molybdenum and sulfur were evenly distributed in the sheet sample. These results show that MoS2 recombines with g-C3N4, indicating the formation of g-C3N4/MoS2 heterojunction.

Fig. 2
figure 2

SEM diagram of g-C3N4 (a), MoS2 (b), g-C3N4/MoS2 (c) composite; TEM images of g-C3N4/MoS2-8 composite (d); HRTEM images of g-C3N4/MoS2-8 composite (e); g-C3N4/MoS2-8 complex element mapping (f), C element, N element, Mo element, S element

3.3 XPS Analyses

The chemical compositions and states of C, N, Mo, and S elements in g-C3N4/MoS2-8 heterostructures have been studied by XPS. Figure 3a shows that in the C 1s spectrum, there are two peaks at about 284.8 eV and 285.9 eV. The binding energy peak at 284.8 eV corresponds to the C–C group. The peak at 285.9 eV corresponds to the N–C = N group of g-C3N4. Figure 3b shows the N 1 s spectrum can be fitted to three peaks at 395.3 eV, 397 eV and 401.2 eV, which can be attributed to C–N–C, N–(C)3 and N–H groups [31]. In the Mo 3d spectrum, three peaks can be observed, which are 224.9 eV, 228.32 eV, and 231.9 eV. It is shown that the Mo element in g-C3N4/MoS2-8 mainly exists in the form of Mo4+. Figure 3d shows the two major peaks at 157.8 eV and 159 eV. The peak of 157.8 eV is attributed to S 2p3/2 and 159 eV is attributed to S 2p1/2. They are consistent with S2− in MoS2. The results show that MoS2 nanosheets are successfully combined with g-C3N4 nanosheets.

Fig. 3
figure 3

XPS spectra of g-C3N4/MoS2-8; deconvoluted peaks for a C 1s, b N 1s, c Mo 3d, d S 2p

3.4 UV–Vis Analyses

Figure 4 shows the UV–Vis diffuse reflectance spectra of the g-C3N4 and g-C3N4/MoS2-8 nanosheets. The g-C3N4 sample shows the absorption of up to 460 nm in the ultraviolet to visible range, due to the small band gap of g-C3N4. To compare with g-C3N4, the absorption wavelength of g-C3N4/MoS2-8 composites reaches 475 nm. According to the formula:

$$Eg = 1240/\lambda g$$

λg is the semiconductor absorption band boundary value, the band gap of g-C3N4 is about 2.70 eV. The band gap of g-C3N4/MoS2-8 is about 2.61 eV. The results show that the MoS2 is successfully combined with g-C3N4. The band gap of the photocatalyst decreases with the introduction of MoS2. Because of the small band gap of MoS2 and its ability to absorb near-infrared light. Fig. S7 shows the absorption of g-C3N4/MoS2 complexes that in the whole visible region was enhanced. And with the increase of MoS2 content, the absorption intensity also increases. Therefore, g-C3N4/MoS2 heterojunction can capture more visible light and enhance the catalytic activity.

Fig. 4
figure 4

UV–Vis spectra of g-C3N4, MoS2, and g-C3N4/MoS2-8 composite

3.5 PL Analyses

The separation and recombination of photogenerated electron–hole pairs are very important for the performance of catalysts. Figure 5 shows the PL spectra of the sample. In general, the optical properties of photocatalysts in the visible region can be interpreted as the composition of photogenerated electrons and holes. Figure 5 shows that monomer g-C3N4 has a strong fluorescence emission peak at about 470 nm. The results show that in g-C3N4 nanomaterials, the electron–hole pair generated by light is easy to combine, which is not good for its photocatalytic performance. The PL spectra of g-C3N4/MoS2-8 composite photocatalyst decreased obviously. And the PL intensity of g-C3N4/MoS2-8 is the lowest among all the composites (as shown in Fig. S8). This could inhibit the compound efficiency of photogenerated electrons and holes and improve the activity of photocatalyst.

Fig. 5
figure 5

PL spectra of g-C3N4, MoS2, and g-C3N4/MoS2-8 composite

3.6 Photocatalytic Activity Analyses

The photocatalytic degradation of g-C3N4 and MoS2 complexes with different mass ratios was studied under visible light irradiation using Rh B as a simulated pollutant. Figure 6 shows the curve of the photocatalytic degradation rate of different photocatalysts over time. The result shows that the g-C3N4/MoS2-8 composite had the best degradation effect. The photodegradation rate of Rh B reached 99.6%. The degradation rate of Rh B by pure g-C3N4 was 50% after 120 min of light exposure. Therefore, the degradation effect of Rh B by catalyst combined with MoS2 was nearly two times that of pure catalyst.

Fig. 6
figure 6

Photocatalytic degradation curve of Rh B solution by different samples

For low concentrations of organic pollutants, the kinetic behavior of degradation reaction can be studied by the following equation:

$$\ln (C/C_{0} ) = kt$$

C is the concentration of pollutants degraded by photocatalyst (mg L−1), C0 is the adsorption equilibrium concentration of pollutants before radiation (mg L−1), t is the reaction time (min), and k is the kinetic constant (min−1). Figure 7 shows the Kinetic constant k of different samples. The k values of g-C3N4/MoS2-8 composites, g-C3N4, and MoS2 photocatalysts were calculated as 0.0357 min−1, 0.00568 min−1, and 0.00258 min−1. The results show that the degradation rate constant of the composite photocatalyst was 6.3 times of the original g-C3N4 photocatalyst and 13.8 times of the MoS2 photocatalyst. Therefore, the photocatalytic activity of the composite material for Rh B degradation was significantly improved.

Fig. 7
figure 7

Photocatalytic reaction rate constants of different samples

In order to study the photocatalytic stability of g-C3N4/MoS2-8 photocatalyst. The g-C3N4/MoS2-8 powder was cycled five times under the same reaction conditions. Figure 8 shows a relatively stable photocatalytic performance. After five cycles, g-C3N4/MoS2-8 photocatalyst still maintained a relatively high photocatalytic performance for the degradation of Rh B, and the photodegradation rate was 97% after 120 min of illumination. The precipitation and transfer processes may be the main reasons for the degradation of photocatalytic performance. Therefore, g-C3N4/MoS2-8 photocatalyst showed high photocatalytic activity and excellent recoverability for the degradation of organic pollutants under visible light irradiation. This showed great potential for future practical applications.

Fig. 8
figure 8

Cyclic degradation curve of g-C3N4/MoS2-8 composite

There are a series of photoinduced active substances such as superoxide radicals (·O2), hydroxyl radicals (·OH) and holes (h+) in the process of photocatalytic reaction. They will directly participate in the photocatalytic process of Rh B under visible light irradiation. In order to elucidate the role of different substances in the redox reaction, different scavengers were added to the photocatalyst to carry out the reaction. N2 was added to remove the ·O2, isopropanol (IPA) to remove the ·OH, and KI to remove the h+. The original g-C3N4/MoS2-8 photocatalyst was fed with homogeneous N2, 0.5 mmol KI and 0.5 mmol IPA. Their degradation effect on Rh B was measured under visible light irradiation. Figure 9 shows that only 15% of Rh B is degraded by adding KI to the photocatalyst, 93% of Rh B is degraded by adding N2 to the photocatalyst, and 97% of Rh B is degraded by adding isopropanol. It can be seen that all three substances participate in the photocatalytic reaction. But the main role is the h+ followed by the ·O2.

Fig. 9
figure 9

The effect of the trapping agent on the photocatalytic activity

Figure 10 illustrates the mechanism of improving the photocatalytic activity of the g-C3N4/MoS2 composite. Under illumination, g-C3N4 absorbs visible light and is excited to produce photogenerated electron–hole pairs. The photogenerated electrons transition from the valence band (VB) to the conduction band (CB) and leave holes in the valence band. According to the theoretical values, the conduction band potentials (ECB) of g-C3N4 is about − 1.22 eV and MoS2 is about − 0.12 eV. The band gaps between them are about 2.88 eV and 1.90 eV. Then according to:

$$E_{VB} = E_{CB} + E_{g}$$

it can be seen that their valence band potentials (EVB) are about 1.66 and 1.78 eV [32]. They have a matching band structure. When g-C3N4 and MoS2 are combined. Since the CB potential of g-C3N4 is more negative than MoS2. The photoinduced electrons in the CB of g-C3N4 can be easily transferred to the CB of MoS2 through the interface. At the same time, because the VB position of g-C3N4 is more negative than MoS2. The holes in the VB of MoS2 move to the VB position of g-C3N4 in a similar manner, facilitating the separation of the photogenerated electrons from the holes. Electrons are collected in CB of MoS2 and the holes are collected in VB of g-C3N4. Therefore, the probability of electron–hole recombination is hindered. It can reduce the probability of photo-generated carrier recombination and prolongs the life of the photo-generated carrier. Therefore, the photocatalytic activity is improved. According to the report, the redox potential of OH/·OH is about 2.27 eV [33]. Therefore, the holes generated in the VB cannot directly oxidize the OH or water molecules adsorbed on the surface of the catalyst to ·OH directly. But directly oxidize the organic matter in the form of holes. So one of the main active species in the photocatalytic experiment is the hole. On the other hand, the photogenerated electrons transferred to MoS2 have higher reducing power. The redox potential of O2/·O2 is about 0.33 eV [34]. It can react with O2 adsorbed on the catalyst surface to generate ·O2. So the other major reactive agent is the ·O2. And get the following equation:

$$g{-}C_{3} N_{4} + h\nu \to g{-}C_{3} N_{4} \left( {e^{ - } + h^{ + } } \right)$$
$$g{-}C_{3} N_{4} \left( {e^{ - } } \right) + MoS_{2} \to g{-}C_{3} N_{4} + MoS_{2} \left( {e^{ - } } \right)$$
$$MoS_{2} \left( {e^{ - } } \right) + O_{2} \to MoS_{2} + \cdot O_{2}^{ - }$$
$$Rh B + h + \left( {\cdot O_{2}^{ - } } \right) \to CO_{2} + H_{2} O$$
Fig. 10
figure 10

Photocatalytic enhancement mechanism diagram of g-C3N4/MoS2-8 composite

Therefore, through the above analysis, it can be expected that the photodegradation activity of the photocatalyst can be effectively improved by forming the g-C3N4/MoS2 heterojunction.

4 Conclusion

The g-C3N4 nanosheets and MoS2 nanosheets were synthesized by thermal polymerization and hydrothermal method. Then ultrasonically composited with g-C3N4. The g-C3N4/MoS2 composite material was obtained simply. The experiment of photocatalytic degradation of Rh B shows that under the irradiation of visible light, the composite of a small amount of MoS2 significantly improves the photocatalytic activity of g-C3N4. The best photocatalytic activity was that the g-C3N4/MoS2 composite with a mass ratio of 8:1. The degradation effect can reach 99.6% after 120 min of illumination. The active matter capture experiment shows that the main active matter in the photocatalytic reaction process is holes, followed by superoxide radicals. UV–Vis diffuse reflectance shows that the band gap of the composite material is reduced, thereby the photocatalytic activity has been enhanced. In addition, the g-C3N4/MoS2 composite also shows good light stability. The above results show that the material has good application prospects in the photocatalytic treatment of organic pollutants.