You can use Alipay. The specific steps are: open the Alipay homepage and enter the city service. Click the "health code" in the middle of the city service or directly search for "health code" in the search bar. Click on your own health code to view and select "Help Your Family" below. Enter your family identity information and health information, click Submit and check the information and confirm the submission. After the submission is successful, you can get your family's health code, and switch your own and your family's health code at any time in the upper right corner.