Patients with pyloric obstruction may lose a large amount of gastric acid due to prolonged vomiting, which may lead to alkalosis, manifested by low potassium, low chloride and alkalosis, resulting in confusion, impaired consciousness and even weight loss, emaciation and dehydration. Therefore, patients with pyloric obstruction must pay sufficient attention to the need for timely improvement of gastroscopy to clarify the specific cause of pyloric obstruction. If the pyloric obstruction is caused by local scar tissue hyperplasia, it is a common benign lesion, and the prognosis of the patient is often better after surgical removal of the local benign lesion, but if the patient has pyloric obstruction caused by tumor hyperplasia, the patient needs to undergo radical tumor surgery, which requires intraoperative regional lymph node dissection and postoperative chemotherapy, radiotherapy, targeted therapy, etc.