ucservice 2.7.2 → 2.7.4

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.
@@ -30040,7 +30040,7 @@ let meet = {
30040
30040
  如果要将会场成员踢出,调用拆线接口即可
30041
30041
  **/
30042
30042
  url: '/dispatch-web/api/meet/joinVideoMember',
30043
- method: 'POST',
30043
+ method: 'GET',
30044
30044
  requestParam: {
30045
30045
  token: '',
30046
30046
  meetId: '',
@@ -31673,7 +31673,17 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31673
31673
  'timeout': 20000,
31674
31674
  'async': async
31675
31675
  };
31676
- if (headers) Object.assign(ajaxContent, headers);
31676
+ if (!headers) headers = {
31677
+ headers: {}
31678
+ };
31679
+
31680
+ if (headers) {
31681
+ if (param.token) Object.assign(headers.headers, {
31682
+ 'Sc-Token': param.token
31683
+ });
31684
+ Object.assign(ajaxContent, headers);
31685
+ }
31686
+
31677
31687
  if (contentType) Object.assign(ajaxContent, {
31678
31688
  contentType
31679
31689
  });
@@ -32874,7 +32884,8 @@ const meetOp = sip => {
32874
32884
  return fetch(server_ + net.url, {
32875
32885
  method: net.method,
32876
32886
  headers: {
32877
- 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32887
+ 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
32888
+ 'Sc-Token': param.token
32878
32889
  },
32879
32890
  body: new URLSearchParams(param),
32880
32891
  keepalive: true
@@ -32935,7 +32946,8 @@ const meetOp = sip => {
32935
32946
  return fetch(server_ + net.url, {
32936
32947
  method: net.method,
32937
32948
  headers: {
32938
- 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32949
+ 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
32950
+ 'Sc-Token': param.token
32939
32951
  },
32940
32952
  body: new URLSearchParams(param),
32941
32953
  keepalive: true
Binary file