The attack took place on Friday morning. Police shot dead a suspect and caught another, state-run Xinhua news agency reported.
The identities of the two was not given out. Knife attacks have become common in China with assailants often targeting train stations.
Twenty-nine people were killed and several others were injured in an attack by knife-wielding assailants, belonging to a militant outfit from the volatile Xinjiang region, at a train station in Yunnan province's capital Kunming on March 1, 2014.
China said the attack was carried out by terrorists from East Turkistan Islamic Movement (ETIM).