Browse Source

页面接口迁移完成

auqfypeu 5 years ago
parent
commit
d744bd2c23
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Member/MemberUI/src/pages/memdoc/mem_prescription.js

+ 3 - 3
Member/MemberUI/src/pages/memdoc/mem_prescription.js

@@ -6,7 +6,7 @@ import Panel from 'components/Panel';
 import {BirdForm} from 'components/Form';
 //import reqwest from 'reqwest';
 //import {BirdForm} from 'components/Form'; 
-const { APIV3} = config;
+const { APIV3,APIV4} = config;
 const { Provinces,Cities,Areas } = util;
 const { TabPane } = Tabs; 
 
@@ -733,7 +733,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
   getMemberExts(MemberPhone,self){
     var membersql={query:MemberPhone};
     request({
-      url: APIV3+"/web/mem_memberexts/MemberextsByPhone",
+      url: APIV4+"/memberexts/memberextsByPhone",
       method: "post",
       data:membersql,
     }).then(function (result) {
@@ -767,7 +767,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
     getMemberHealthDoc(MemberPhone,self){
     var json={"MemberPhone":MemberPhone};
       request({
-        url: APIV3+"/web/mem_memberhealth/index",
+        url: APIV4+"/memberexts/index",
         method: "post",
         data:json,
       }).then(function (result) {