react_hsbc_teller 1.8.4 → 1.8.7
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.
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/demo/demo.js +19 -6
- package/packages/pages/video/video.jsx +1973 -1834
- package/packages/pages/video/video.less +46 -1
package/package.json
CHANGED
package/packages/demo/demo.js
CHANGED
|
@@ -5,19 +5,19 @@ import Pdf from './pdf.js'
|
|
|
5
5
|
class Demo extends Component {
|
|
6
6
|
state = {
|
|
7
7
|
shareMask: false,
|
|
8
|
-
mtoken: "
|
|
9
|
-
roomId: "
|
|
10
|
-
imRoomId: "
|
|
11
|
-
|
|
8
|
+
mtoken: "3c1b4badb7d7",
|
|
9
|
+
roomId: "661841296389119",
|
|
10
|
+
imRoomId: "iax56tSCD@conference.ls-im-xmpp.chinawp.dev.ali.cloud.cn.hsbc",
|
|
11
|
+
sessionId: "iax56tSCD",
|
|
12
12
|
// roomId: '',
|
|
13
13
|
// mtoken: '',
|
|
14
14
|
// imRoomId: '',
|
|
15
15
|
// sessionId: '',
|
|
16
16
|
isVideo: false,
|
|
17
|
-
tellerAccount: '
|
|
17
|
+
tellerAccount: 'wmzTeller',
|
|
18
18
|
// callbackUrl: 'http://182.92.184.31:8720/hsbc/callback',
|
|
19
19
|
callbackUrl: 'https://aag.wealth-platform.uat.ali.cloud.cn.hsbc/nosaml/api/appointment/wealth/api/v1/appointment/ali/createMeetingRoom',
|
|
20
|
-
businessNumber: '',
|
|
20
|
+
businessNumber: '123',
|
|
21
21
|
lang: 'zh',
|
|
22
22
|
// roomServerUrl: 'wss://mrtc.mpaas.cn-hangzhou.aliyuncs.com/ws',
|
|
23
23
|
// baseURL:'https://counter-web.leimondata.cn:18082/api/leimon-counter-api',
|
|
@@ -161,6 +161,18 @@ joinRoomCallback=(data)=>{
|
|
|
161
161
|
userExit =(val)=>{
|
|
162
162
|
console.log(val)
|
|
163
163
|
}
|
|
164
|
+
staffPermission=(val)=>{
|
|
165
|
+
return new Promise((resolve, reject) => {
|
|
166
|
+
setTimeout(() => { // 定时器
|
|
167
|
+
if(val.staffId && val.password) {
|
|
168
|
+
resolve('成功')
|
|
169
|
+
} else {
|
|
170
|
+
reject('失败')
|
|
171
|
+
}
|
|
172
|
+
}, 2000)
|
|
173
|
+
|
|
174
|
+
})
|
|
175
|
+
}
|
|
164
176
|
render() {
|
|
165
177
|
return (
|
|
166
178
|
<div className="test">
|
|
@@ -193,6 +205,7 @@ userExit =(val)=>{
|
|
|
193
205
|
joinRoomCallback={this.joinRoomCallback}
|
|
194
206
|
imgCallback={this.imgCallback}
|
|
195
207
|
userExit={this.userExit}
|
|
208
|
+
staffPermission={this.staffPermission}
|
|
196
209
|
>
|
|
197
210
|
|
|
198
211
|
<Pdf></Pdf>
|