Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
ShenghuoquanBusiness
Commits
cab63cd2
Commit
cab63cd2
authored
Jul 05, 2021
by
yinjiacheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 身份证OCR、人脸检测、营业执照OCR接口入参调整
parent
709e091e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
73 deletions
+61
-73
BusinessLicenseOCRBean.kt
...oquan/newscontent/http/httpbean/BusinessLicenseOCRBean.kt
+19
-19
GetIDCardOCRBean.kt
...henghuoquan/newscontent/http/httpbean/GetIDCardOCRBean.kt
+35
-40
IdentifyIdOcrVerifyBean.kt
...quan/newscontent/http/httpbean/IdentifyIdOcrVerifyBean.kt
+3
-4
LifeAccountBusinessLicenseAuthFragment.kt
...content/ui/auth/LifeAccountBusinessLicenseAuthFragment.kt
+1
-4
LifeAccountIDCardAuthFragment.kt
...quan/newscontent/ui/auth/LifeAccountIDCardAuthFragment.kt
+3
-6
No files found.
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/http/httpbean/BusinessLicenseOCRBean.kt
View file @
cab63cd2
...
...
@@ -6,7 +6,7 @@ package com.yidian.shenghuoquan.newscontent.http.httpbean
* description: 营业执照OCR
*/
class
BusinessLicenseOCRBean
{
data class
Request
(
val
business_image_objectid
:
String
,
val
business_image_bucket
:
String
)
data class
Request
(
val
business_image_url
:
String
)
data class
Response
(
val
addr
:
String
,
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/http/httpbean/GetIDCardOCRBean.kt
View file @
cab63cd2
...
...
@@ -7,10 +7,8 @@ package com.yidian.shenghuoquan.newscontent.http.httpbean
*/
class
GetIDCardOCRBean
(
val
request
:
Request
,
val
response
:
Response
)
{
data class
Request
(
val
posit_image_objectid
:
String
,
val
back_image_objectid
:
String
,
val
posit_bucket
:
String
,
val
back_bucket
:
String
val
back_image_url
:
String
,
val
posit_image_url
:
String
)
data class
Response
(
...
...
@@ -48,6 +46,3 @@ class GetIDCardOCRBean(val request: Request, val response: Response) {
val
Temporary_ID_Photo
:
Double
)
}
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/http/httpbean/IdentifyIdOcrVerifyBean.kt
View file @
cab63cd2
package
com.yidian.shenghuoquan.newscontent.http.httpbean
class
IdentifyIdOcrVerifyBean
(
val
request
:
Request
,
val
response
:
Response
)
{
data class
Request
(
val
biz_token
:
String
,
val
meglive_objectid
:
String
)
data class
Request
(
val
biz_token
:
String
,
val
meglive_url
:
String
)
data class
Response
(
val
verify_result
:
Boolean
)
}
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/auth/LifeAccountBusinessLicenseAuthFragment.kt
View file @
cab63cd2
...
...
@@ -240,10 +240,7 @@ class LifeAccountBusinessLicenseAuthFragment :
)
return
}
val
requestParams
=
HashMap
<
String
,
String
?>()
requestParams
[
"business_image_objectid"
]
=
objectKey
requestParams
[
"business_image_bucket"
]
=
bucket
ApiService
.
businessLicenseOCR
(
this
,
requestParams
)
ApiService
.
businessLicenseOCR
(
this
,
hashMapOf
(
Pair
(
"business_image_url"
,
"$bucket/$objectKey"
)))
}
/**
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/auth/LifeAccountIDCardAuthFragment.kt
View file @
cab63cd2
...
...
@@ -508,8 +508,7 @@ class LifeAccountIDCardAuthFragment : BaseFragment<FragmentLifeAccountIdCardAuth
}
},
hashMapOf
(
Pair
(
"posit_image_objectid"
,
objectKey
),
Pair
(
"posit_bucket"
,
bucket
)
Pair
(
"posit_image_url"
,
"$bucket/$objectKey"
)
)
)
}
else
{
...
...
@@ -534,8 +533,7 @@ class LifeAccountIDCardAuthFragment : BaseFragment<FragmentLifeAccountIdCardAuth
}
},
hashMapOf
(
Pair
(
"back_image_objectid"
,
objectKey
),
Pair
(
"back_bucket"
,
bucket
)
Pair
(
"back_image_url"
,
"$bucket/$objectKey"
)
)
)
}
...
...
@@ -660,8 +658,7 @@ class LifeAccountIDCardAuthFragment : BaseFragment<FragmentLifeAccountIdCardAuth
"biz_token"
,
LifeAccountAuthDataManager
.
personalAuthData
.
liveDetectBizToken
),
Pair
(
"meglive_objectid"
,
objectKey
),
Pair
(
"meglive_bucket"
,
bucket
)
Pair
(
"meglive_url"
,
"$bucket/$objectKey"
)
)
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment