diff --git a/common/MyRequest.js b/common/MyRequest.js index 2f5ee6c..01645d6 100644 --- a/common/MyRequest.js +++ b/common/MyRequest.js @@ -7,8 +7,8 @@ // const baseurl = 'http://172.22.10.218:22252' 8 // const baseurl = 'http://192.168.1.73:32202' // 测试环境 // const baseurl = 'http://172.22.10.217:22202' // 正式环境1 -const baseurl = 'http://172.22.10.225:22202' // SAP测试环境 -// const baseurl = 'http://localhost:18878' +// const baseurl = 'http://172.22.10.225:22202' // SAP测试环境 +const baseurl = 'http://localhost:18873' //--------------------------------------------------开始封装 import service from './service'; diff --git a/common/config.js b/common/config.js index b501fc3..b9e18d8 100644 --- a/common/config.js +++ b/common/config.js @@ -16,8 +16,8 @@ export default { // url: "http://172.22.10.218:22252", 22258 // url: "http://192.168.1.73:32202", // 测试环境 // url: "http://172.22.10.217:22202", // 正式环境1 - url: "http://172.22.10.225:22202", // SAP测试环境 - // url: "http://localhost:18878", + // url: "http://172.22.10.225:22202", // SAP测试环境 + url: "http://localhost:18873", // 测试服务器接口URL // url: "http://10.4.2.109:90/WMS/WMS_Webservice.asmx", // 请求的参数 diff --git a/pages/login/index.vue b/pages/login/index.vue index 84d7a0d..eefe912 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -217,7 +217,7 @@ export default { PLATFORM:"APP" } }).then(res => { - if(res.data.code == 0) { + if(res.data.code == 200) { console.log(222222222) let menuList = res.data.data.menuList // console.log('menuList', menuList)