Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
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
mobile-group
galaxy-iOS
Commits
dbff09e9
Commit
dbff09e9
authored
Sep 02, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// OCR
parent
c71082dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
YHTravelDocsPreparationDetailVC.swift
...aration(6 旅行证件准备)/C/YHTravelDocsPreparationDetailVC.swift
+2
-1
YHTravelCertificateUploadCell.swift
...eparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
+2
-8
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/C/YHTravelDocsPreparationDetailVC.swift
View file @
dbff09e9
...
...
@@ -214,7 +214,8 @@ class YHTravelDocsPreparationDetailVC: YHBaseViewController {
if
!
checkInfo
()
{
return
}
saveAllTravelCertificate
()
// saveAllTravelCertificate()
}
func
checkInfo
()
->
Bool
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
View file @
dbff09e9
...
...
@@ -121,10 +121,8 @@ class YHTravelCertificateUploadCell: UITableViewCell {
[
weak
self
]
url
,
index
in
guard
let
self
=
self
else
{
return
}
if
self
.
dataModel
.
type
==
3
{
// 港澳通行证
self
.
dataModel
.
img_front
=
url
if
self
.
dataModel
.
isCanEdit
{
self
.
getOCR
(
url
:
url
,
isBack
:
0
)
}
self
.
dataModel
.
img_front
=
url
self
.
getOCR
(
url
:
url
,
isBack
:
0
)
}
else
{
self
.
dataModel
.
img_front
=
url
...
...
@@ -499,10 +497,6 @@ extension YHTravelCertificateUploadCell {
func
getOCR
(
url
:
String
,
isBack
:
Int
)
{
if
self
.
dataModel
.
type
!=
3
{
// 非港澳通行证 不用进行OCR识别
return
}
self
.
viewModel
.
getPublicImageUrl
(
url
)
{
[
weak
self
]
success
,
error
in
...
...
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