mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 21:52:53 +08:00
[IMP]【更换人脸识别厂商微信端】获取腾讯人脸识别url接口,请求参数增加businessSource(业务来源:1-电投,2-入司,3-理赔,4-保全)字段
This commit is contained in:
@@ -319,7 +319,8 @@ export default {
|
||||
idcardData: {
|
||||
realName: '',
|
||||
idno: '',
|
||||
redirectUrl: ''
|
||||
redirectUrl: '',
|
||||
businessSource: '1' //微信端人脸识别业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
},
|
||||
// idcardData: {
|
||||
// typeface: false,
|
||||
@@ -1206,7 +1207,12 @@ export default {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.idcardData.redirectUrl = location.origin + this.replaceSearch()
|
||||
localStorage.setItem('9999111', JSON.stringify(this.idcardData.redirectUrl)) //调试专用
|
||||
let data = { realName: this.idcardData.realName, idno: this.idcardData.idno, redirectUrl: this.idcardData.redirectUrl }
|
||||
let data = {
|
||||
realName: this.idcardData.realName,
|
||||
idno: this.idcardData.idno,
|
||||
redirectUrl: this.idcardData.redirectUrl,
|
||||
businessSource: this.idcardData.businessSource
|
||||
}
|
||||
console.log('获取URL请求参数', data)
|
||||
getRecognitionUrl(data).then(
|
||||
res => {
|
||||
|
||||
Reference in New Issue
Block a user