chen.lin
17 小时以前 f0080b1fb1219eb06f1265033afb659d86f69699
common/request.js
@@ -14,9 +14,12 @@
   }
   return new Promise((resolve, reject) => {
      const token = uni.getStorageSync('token');
      // const URL = 'http://47.76.147.249:8080/rsf-server/pda' + url;
      // const URL = 'http://test.zoneyung.net:8080/rsf-server/pda' + url;
      const URL = 'http://127.0.0.1:8080/rsf-server/pda' + url;
      // const URL = 'http://192.168.4.34:8085/rsf-server/pda' + url;
      let baseUrl = uni.getStorageSync('baseUrl');
      if (!baseUrl) {
         baseUrl = 'http://127.0.0.1:8085/rsf-server/pda';
      }
      const URL = baseUrl+'/pda' + url;
      uni.request({
         url: URL,
         data: postData,