I flew back to Wuhan from Maldives, first by FD 178, and then by FD570, the same airline. Do I need a visa?

As long as the rigs are on the same dock, they are not needed.

First, Thailand implements landing visa for China citizens, even if it needs to change the terminal.

Second, the same airline is generally in the same terminal, so you don't need to enter the country, and you can transfer at the airport.

Hope to adopt. Thank you.