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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -5,10 +5,13 @@ import Pdf from './pdf.js'
5
5
  class Demo extends Component {
6
6
  state = {
7
7
  shareMask: false,
8
- imRoomId: "oSqhUSooi@conference.ls-im-xmpp.chinawp.dev.ali.cloud.cn.hsbc",
9
- sessionId: "oSqhUSooi",
10
- mtoken: "8af047a2b64b",
11
- roomId: "654754010601621",
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
- // idCardNumber: result.data.idCardNumber,
3853
- // idCardName: result.data.idCardName
3853
+ // isModalVisibleFacial: false
3854
+ idCardNumber: result.data.idCardNumber,
3855
+ idCardName: result.data.idCardName
3854
3856
  })
3855
3857
  } else {
3856
3858
  this.messageClick('识别失败','error')