This invention provides a duodenum endothelium membrane made of degradable shape-memory biocompatible materials. The endothelium membrane planted in the duodenum can divide chyme and bile-pancreatic juice, avoiding direct digestion, absorption, and metabolism of gastric effluent in the duodenum. After being implanted, the endothelium membrane is stable and difficult to slip and incarcerate, and is gradually degraded through two months to five years, avoiding complicated operation and organ tissue injury when removing later, and slowing down the “rebound” effect after complete demolition of the original barrier in an instant. The endothelium membrane is prepared into the medical device free of removing and treating obesity and diabetes. The endothelium membrane can avoid the deflation of the tubular portion induced by gastrointestinal peristalsis and gap increase between the endothelium membrane of the tubular portion and inner wall of the duodenum further to avoid regurgitation of jejunum contents.