Hi Lujin,
Sorry I don't know how to write in Chinese, so I hope if you translate this it comes through clearly.
You do not need to buy a gym membership to use equipment. If you have space in your home you can buy some weights, bands, or kettlebells and use them at home.
If you want to use workout machines though, the cheaper option would be to get a gym membership rather than trying to purchase them for your home.