ucservice 2.7.4 → 2.7.6

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.
@@ -26751,16 +26751,16 @@ let account = {
26751
26751
  url: '/scooper-core-rest/data/system/accountManage/listAccount',
26752
26752
  method: 'POST',
26753
26753
  requestParam: {
26754
- id: '',
26755
- token: '',
26754
+ // id: '',
26755
+ corpId: '',
26756
+ // token: '', // 头部Sc-Token
26756
26757
  accUsername: '',
26757
- accShowname: '',
26758
- //帐号显示名称
26759
- accType: '',
26760
- //帐号类型,该字段已弃用 0-管理员; 1-一般用户; 2-调度操作员
26761
- validToken: '',
26762
- //有效token
26763
- invalidTimeStart: '' //登录失效开始日期
26758
+ keyword: '',
26759
+ //按accUsername、accShowname模糊查询
26760
+ // accShowname: '', //帐号显示名称
26761
+ accType: '' //帐号类型,该字段已弃用 0-管理员; 1-一般用户; 2-调度操作员
26762
+ // validToken: '', //有效token
26763
+ // invalidTimeStart: '' //登录失效开始日期
26764
26764
 
26765
26765
  },
26766
26766
  responseParam: {
@@ -29289,7 +29289,7 @@ let dept = {
29289
29289
  requestParam: {
29290
29290
  token: '',
29291
29291
  // T 身份令牌
29292
- idareaCodeParent: '' // F 上级行政区划代码
29292
+ areaCodeParent: '' // F 上级行政区划代码
29293
29293
 
29294
29294
  },
29295
29295
  responseParam: {
@@ -29895,7 +29895,7 @@ let meet = {
29895
29895
  method: 'POST',
29896
29896
  requestParam: {
29897
29897
  token: '',
29898
- meetId: '' //会场id
29898
+ id: '' //会场id
29899
29899
 
29900
29900
  },
29901
29901
  responseParam: {
@@ -29920,7 +29920,7 @@ let meet = {
29920
29920
  name: '',
29921
29921
  //会场名称
29922
29922
  meetAcess: '',
29923
- //会场号, 保证唯一性,若设置,成员可通过拨会场号加入会场(只能设置数字);若不设置,成员无法加入会场
29923
+ //会场号,9位纯数字且会议号不可重复 保证唯一性,若设置,成员可通过拨会场号加入会场(只能设置数字);若不设置,成员无法加入会场
29924
29924
  meetAttr: '',
29925
29925
  //会议类别 MEET_INSTANT: 即时会议(默认),MEET_RESERVE: 预约会议
29926
29926
  timeBegin: '',
@@ -29955,7 +29955,7 @@ let meet = {
29955
29955
  method: 'POST',
29956
29956
  requestParam: {
29957
29957
  token: '',
29958
- meetId: ''
29958
+ id: ''
29959
29959
  },
29960
29960
  responseParam: {
29961
29961
  code: '',
@@ -29975,7 +29975,7 @@ let meet = {
29975
29975
  method: 'POST',
29976
29976
  requestParam: {
29977
29977
  token: '',
29978
- meetId: '',
29978
+ id: '',
29979
29979
  tel: '',
29980
29980
  level: '' //成员会议状态,类型选择:speak(可发言, 默认);audience(禁言)
29981
29981
 
@@ -29999,7 +29999,7 @@ let meet = {
29999
29999
  method: 'POST',
30000
30000
  requestParam: {
30001
30001
  token: '',
30002
- meetId: '',
30002
+ id: '',
30003
30003
  tel: ''
30004
30004
  },
30005
30005
  responseParam: {
@@ -30016,11 +30016,11 @@ let meet = {
30016
30016
  * 设置主持人
30017
30017
  */
30018
30018
  setMeetChairmanNet: {
30019
- url: '/dispatch-web/api/meet/setMeetChairman',
30019
+ url: '/dispatch-web/api/meet/changeMemberController',
30020
30020
  method: 'POST',
30021
30021
  requestParam: {
30022
30022
  token: '',
30023
- meetId: '',
30023
+ id: '',
30024
30024
  tel: ''
30025
30025
  },
30026
30026
  responseParam: {
@@ -30040,7 +30040,7 @@ let meet = {
30040
30040
  如果要将会场成员踢出,调用拆线接口即可
30041
30041
  **/
30042
30042
  url: '/dispatch-web/api/meet/joinVideoMember',
30043
- method: 'GET',
30043
+ method: 'POST',
30044
30044
  requestParam: {
30045
30045
  token: '',
30046
30046
  meetId: '',
@@ -30130,7 +30130,7 @@ let meet = {
30130
30130
 
30131
30131
  /***查询当前所有会场信息
30132
30132
  **/
30133
- url: '/dispatch-web/api/meet/getMeet',
30133
+ url: '/dispatch-web/api/meet/getMeetAdd',
30134
30134
  method: 'POST',
30135
30135
  requestParam: {
30136
30136
  token: '',
@@ -31715,7 +31715,7 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31715
31715
  * @param {*} connectcallfunc 通讯录通知处理
31716
31716
  */
31717
31717
 
31718
- const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, appMsgfunc, sip) {
31718
+ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, appMsgfunc, devicefunc, sip) {
31719
31719
  //初始
31720
31720
  let server_ = sip || server;
31721
31721
 
@@ -31745,7 +31745,8 @@ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallf
31745
31745
  callfunc,
31746
31746
  videocallfunc,
31747
31747
  connectcallfunc,
31748
- appMsgfunc
31748
+ appMsgfunc,
31749
+ devicefunc
31749
31750
  });
31750
31751
  }
31751
31752
 
@@ -31776,6 +31777,16 @@ function doSubscribe(_cometd, callback) {
31776
31777
  callback.callfunc(message);
31777
31778
  });
31778
31779
  }
31780
+ /**
31781
+ * 设备在离线状态消息通知
31782
+ */
31783
+
31784
+
31785
+ if (callback.devicefunc) {
31786
+ _cometd.subscribe("/device/res-status/#", null, function (message) {
31787
+ callback.devicefunc(message);
31788
+ });
31789
+ }
31779
31790
  /**
31780
31791
  * 视频通话状态消息通知(视频通话建立 和 中断)
31781
31792
  */
Binary file