Inclusion Criteria:  Age: ≥18 years old, Female or Male; Pathologically diagnosed gastric or gastroesophageal junction adenocarcinoma (GEJ). Failure or intolerance of first-line chemotherapy which requires that the first-line chemotherapy regimen include the scheme based on anti-PD-1 drugs for no less than 2 months (Definition of treatment failure: intolerence of toxic side effects; disease progression during treatment; Or recurrence after the end of treatment.) Note: (1)The treatment of each line advanced disease includes one or more drugs with a medication time ≥ 1 cycle. (2) Early adjuvant/neo-adjuvant therapy is allowed. If recurrence occurs during adjuvant/neoadjuvant therapy or within ≤24 weeks after completion, adjuvant/neoadjuvant therapy is considered to be a first-line pre-systemic chemotherapy for advanced disease. (3) Early-stage immunotherapy, combined chemotherapy or combined targeted drugs are allowed (except for VEGFR inhibitors). Patients must have at least 1 lesion that is measurable using RECIST v1.1 criteria ECOG performance status 0-1. An expected survival of > 12 weeks. Has adequate sufficient organ and bone marrow functions. Patients whose adverse events caused by previous treatment have recovered to <= CTCAE 1 degree; And the interval between receiving nitroso or mitomycin ≥6 weeks; Receiving other cytotoxic drugs, radiotherapy or surgery ≥ 4 weeks, and the wound has healed completely. Fertile female subjects must undergo a serum-negative pregnancy test within 72 hours before starting the study drug Patients have agreed and signed the informed consent. Willingness and able to follow the planned visit, research treatment, laboratory examination and other test procedures.  Exclusion Criteria:  It is known that it's allergic to any test drug and its excipients. Previously received anti-angiogenic therapy, such as Ramucirumab and apatinib. patients with uncontrolled large amount of exudate [chest, pericardium, abdominal cavity] Patients with partial or complete gastrointestinal obstruction. Hypertension, which cannot be well controlled by antihypertensive drugs (systolic blood pressure ≥ 140 mmHg or diastolic blood pressure ≥ 90 mmHg). Patients with uncontrolled clinical symptoms or diseases of the heart. In the first 3 months of the study, patients who had significant clinical bleeding symptoms or had definite bleeding tendency; History of gastrointestinal perforation and/or fistulae within 6 months prior to medications. Long term use of aspirin, clopidogrel and other antiplatelet drugs, or warfarin and other anticoagulants; Received other therapy within 4 weeks. The patients who received systemic treatment with Chinese herbal medicine or immunomodulatory drugs According to the research's judgement, there are patients who seriously endanger the safety of patients or affect the patients who complete.(such as uncontrolled hypertension、diabetes、thyroid disease, etc) The patient has a serious or non healing wound or peptic ulcer or bone fracture; A patient with other malignancies within 3 years. patients whose adverse events (except hair loss) caused by previous treatment have not recovered to <= CTCAE 1 degree; The researchers considered unsuitable for inclusion.