chen.lin
1 天以前 7f686a5ea018786809135b5f970be114f815165e
common/request.js
@@ -15,7 +15,11 @@
   return new Promise((resolve, reject) => {
      const token = uni.getStorageSync('token');
      // const URL = 'http://192.168.4.34:8085/rsf-server/pda' + url;
      const URL = 'http://127.0.0.1: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,