Both options are good.
If you get an ideal mentor and research direction at Xinjiang University, and this direction is quite influential in the country, then choosing to study as a graduate student at Xinjiang University may be a good choice. In addition, if you are interested in domestic research and development, studying in China may be more in line with your needs.
If you want to be exposed to a wider academic environment and culture and increase your international perspective, then choosing to study abroad for graduate school may be more suitable for you. It should be noted that when studying abroad, you need to consider issues such as funding, residence, and language. You also need to understand the cultural background and education system of the target country and be prepared to adapt and communicate.