Rs3745367 of resistin is associated with the mechanical pain threshold and postoperative sufentanil consumption in gastric cancer patients. Patients with the AA genotype of rs3745367 present an increased mechanical pain threshold and decreased postoperative sufentanil consumption.