ucservice 2.6.7 → 2.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32819,13 +32819,18 @@ const meetOp = sip => {
32819
32819
  // }
32820
32820
  // }, async, net.method);
32821
32821
 
32822
+ let formdata = new FormData();
32823
+
32824
+ for (let key in param) {
32825
+ formdata.append(key, param[key]);
32826
+ }
32827
+
32822
32828
  return fetch(server_ + net.url, {
32823
32829
  method: net.method,
32824
32830
  headers: {
32825
32831
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32826
32832
  },
32827
- body: JSON.stringify({ ...param
32828
- }),
32833
+ body: formdata,
32829
32834
  keepalive: true
32830
32835
  });
32831
32836
  }
@@ -32881,13 +32886,18 @@ const meetOp = sip => {
32881
32886
  delete param.async;
32882
32887
  }
32883
32888
 
32889
+ let formdata = new FormData();
32890
+
32891
+ for (let key in param) {
32892
+ formdata.append(key, param[key]);
32893
+ }
32894
+
32884
32895
  return fetch(server_ + net.url, {
32885
32896
  method: net.method,
32886
32897
  headers: {
32887
32898
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32888
32899
  },
32889
- body: { ...param
32890
- },
32900
+ body: formdata,
32891
32901
  keepalive: true
32892
32902
  }); // if(async){
32893
32903
  // return new Promise((resolve, reject) => {
Binary file