Sorry you felt ill but I think the vast majority of "food poisoning" cases take longer than 10 hours to come on. Maybe something you eat in Shanghai? Probably more likely when you consider the incredibly stringent conditions airline food is produced under.