The southwestern Chinese city is drawing record numbers of foreign visitors, and officials say this is the result of careful planning – not just viral videos.