By analyzing the GO, KEGG, and PPI networks of the genes, we found that the core gene IL-6 and TLR4/NF-κB/IL-6 pathway are associated with acupuncture affecting obesity by regulating inflammation, further revealing the importance of IL-6/STAT3 and its downstream pathway in pancreatic cancer and providing some theoretical basis for adjuvant treatment of pancreatic cancer targeting IL-6. Here, STAT3 is linked to obesity due to melanocortin 4 receptor deficiency.