@Liz ********
most of the thai consulates in china have a residency requirement meaning you need to legally LIVE in china to use the thai consulate for a visa.
I'd make sure it's okay for you to go there before showing up.
***********************************