Commit 06b37701 authored by yinjiacheng's avatar yinjiacheng

update 企业认证切换XInsight API

parent 7a2cd839
package com.yidian.shenghuoquan.newscontent.ui.auth package com.yidian.shenghuoquan.newscontent.ui.auth
import com.yidian.framework.mobile.insight.identity.IdentityCardResult import com.yidian.framework.mobile.insight.identity.IdentityCardResult
import com.yidian.framework.mobile.insight.ocr.BusinessLicenseResult
import com.yidian.shenghuoquan.newscontent.bean.LifeAccountMerchantAuthData import com.yidian.shenghuoquan.newscontent.bean.LifeAccountMerchantAuthData
import com.yidian.shenghuoquan.newscontent.bean.LifeAccountPersonalAuthData import com.yidian.shenghuoquan.newscontent.bean.LifeAccountPersonalAuthData
import com.yidian.shenghuoquan.newscontent.constant.Constant import com.yidian.shenghuoquan.newscontent.constant.Constant
import com.yidian.shenghuoquan.newscontent.http.httpbean.AuthAuthenticationBean import com.yidian.shenghuoquan.newscontent.http.httpbean.AuthAuthenticationBean
import com.yidian.shenghuoquan.newscontent.http.httpbean.AuthMerchantCheckBean import com.yidian.shenghuoquan.newscontent.http.httpbean.AuthMerchantCheckBean
import com.yidian.shenghuoquan.newscontent.http.httpbean.BusinessLicenseOCRBean
/** /**
* author: yinjiacheng * author: yinjiacheng
...@@ -88,7 +88,7 @@ object LifeAccountAuthDataManagerV2 { ...@@ -88,7 +88,7 @@ object LifeAccountAuthDataManagerV2 {
/** /**
* 将营业执照OCR结果填入 * 将营业执照OCR结果填入
*/ */
fun generateMerchantAuthData(data: BusinessLicenseOCRBean.Response) { fun generateBusinessLicenseData(data: BusinessLicenseResult) {
merchantAuthData.registrationName = data.name merchantAuthData.registrationName = data.name
merchantAuthData.registrationCode = data.code merchantAuthData.registrationCode = data.code
merchantAuthData.type = data.type merchantAuthData.type = data.type
......
...@@ -353,7 +353,7 @@ class LifeAccountIDCardAuthFragmentV2 : BaseFragment<FragmentLifeAccountIdCardAu ...@@ -353,7 +353,7 @@ class LifeAccountIDCardAuthFragmentV2 : BaseFragment<FragmentLifeAccountIdCardAu
} }
/** /**
* 执行身份证上传金山云 * 执行身份证识别
* @param face 身份证两面标识 * @param face 身份证两面标识
*/ */
private fun startIDCardVerify(face: Int) { private fun startIDCardVerify(face: Int) {
......
...@@ -104,7 +104,7 @@ ext.dependencies = [ ...@@ -104,7 +104,7 @@ ext.dependencies = [
'com.yidian.framework.mobile:ydutils:1.0.1-SNAPSHOT', 'com.yidian.framework.mobile:ydutils:1.0.1-SNAPSHOT',
'com.yidian.framework.mobile:xdiamond:1.0.7', 'com.yidian.framework.mobile:xdiamond:1.0.7',
// 慧眼 // 慧眼
'com.yidian.framework.mobile.xinsight:xinsight:1.1.2', 'com.yidian.framework.mobile.xinsight:xinsight:1.1.5',
'com.loopj.android:android-async-http:1.4.9', 'com.loopj.android:android-async-http:1.4.9',
// 屏幕适配 // 屏幕适配
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment