The solution is as follows:
1. Open the WeChat homepage and click "I" in the lower right corner.
2. After entering my page, click "Pay".
3. Then find "Epidemic Prevention Health Code" on the drop-down page and click it.
4. After entering the epidemic prevention health code page, click "View Epidemic Prevention Health Code" below.
5. Enter the face authentication page, fill in the name and ID number, and then click OK to submit. The face is facing the screen for face recognition and verification.
6. After successful verification, you can see your health code.