react_hsbc_teller 1.6.5 → 1.6.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.
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/demo/demo.js +7 -4
- package/packages/pages/video/video.jsx +5 -3
package/package.json
CHANGED
package/packages/demo/demo.js
CHANGED
|
@@ -5,10 +5,13 @@ import Pdf from './pdf.js'
|
|
|
5
5
|
class Demo extends Component {
|
|
6
6
|
state = {
|
|
7
7
|
shareMask: false,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
mtoken: "84d0410ab406",
|
|
9
|
+
|
|
10
|
+
roomId: "651114052525526",
|
|
11
|
+
|
|
12
|
+
imRoomId: "VPP0Ejwae@conference.openfire2.leimondata.cn",
|
|
13
|
+
|
|
14
|
+
sessionId: "VPP0Ejwae",
|
|
12
15
|
// roomId: '',
|
|
13
16
|
// mtoken: '',
|
|
14
17
|
// imRoomId: '',
|
|
@@ -614,6 +614,8 @@ class Video extends Component {
|
|
|
614
614
|
contrastFaceVerify = async () => {
|
|
615
615
|
try {
|
|
616
616
|
let result = await API.contrastFaceVerify({
|
|
617
|
+
staffId: this.props.tellerAccount,
|
|
618
|
+
activityId: this.props.businessNumber,
|
|
617
619
|
appAccount: this.state.faceCustomerUid,
|
|
618
620
|
sessionId: this.state.sessionId,
|
|
619
621
|
fileBase64: this.state.facialImg.replace(/^data:image\/\w+;base64,/,"")
|
|
@@ -3848,9 +3850,9 @@ userType:'1'
|
|
|
3848
3850
|
})
|
|
3849
3851
|
});
|
|
3850
3852
|
this.setState({
|
|
3851
|
-
isModalVisibleFacial: false
|
|
3852
|
-
|
|
3853
|
-
|
|
3853
|
+
// isModalVisibleFacial: false
|
|
3854
|
+
idCardNumber: result.data.idCardNumber,
|
|
3855
|
+
idCardName: result.data.idCardName
|
|
3854
3856
|
})
|
|
3855
3857
|
} else {
|
|
3856
3858
|
this.messageClick('识别失败','error')
|