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.
@@ -30049,7 +30049,7 @@ let meet = {
30049
30049
  如果要将会场成员踢出,调用拆线接口即可
30050
30050
  **/
30051
30051
  url: '/dispatch-web/api/meet/joinVideoMember',
30052
- method: 'POST',
30052
+ method: 'GET',
30053
30053
  requestParam: {
30054
30054
  token: '',
30055
30055
  meetId: '',
@@ -31682,7 +31682,17 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31682
31682
  'timeout': 20000,
31683
31683
  'async': async
31684
31684
  };
31685
- if (headers) Object.assign(ajaxContent, headers);
31685
+ if (!headers) headers = {
31686
+ headers: {}
31687
+ };
31688
+
31689
+ if (headers) {
31690
+ if (param.token) Object.assign(headers.headers, {
31691
+ 'Sc-Token': param.token
31692
+ });
31693
+ Object.assign(ajaxContent, headers);
31694
+ }
31695
+
31686
31696
  if (contentType) Object.assign(ajaxContent, {
31687
31697
  contentType
31688
31698
  });
@@ -32883,7 +32893,8 @@ const meetOp = sip => {
32883
32893
  return fetch(server_ + net.url, {
32884
32894
  method: net.method,
32885
32895
  headers: {
32886
- 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32896
+ 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
32897
+ 'Sc-Token': param.token
32887
32898
  },
32888
32899
  body: new URLSearchParams(param),
32889
32900
  keepalive: true
@@ -32944,7 +32955,8 @@ const meetOp = sip => {
32944
32955
  return fetch(server_ + net.url, {
32945
32956
  method: net.method,
32946
32957
  headers: {
32947
- 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32958
+ 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
32959
+ 'Sc-Token': param.token
32948
32960
  },
32949
32961
  body: new URLSearchParams(param),
32950
32962
  keepalive: true
Binary file