Tianjin needs a green code to take the subway, but locals don't, because there have been no virus carriers in the subway for a long time. Generally, railway stations and airports have registration code scanning offices. After this link, you can swipe your card and take the subway.