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
4d2b09a0
Commit
4d2b09a0
authored
Aug 23, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 办证地点接口
parent
5fe5c198
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
69 additions
and
1 deletion
+69
-1
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHMakeCertificatePlaceModel.swift
...Certificate(3 赴港办证预约)/M/YHMakeCertificatePlaceModel.swift
+21
-0
YHInfoItemSelectSheetView.swift
...ntCertificate(3 赴港办证预约)/V/YHInfoItemSelectSheetView.swift
+1
-0
YHCerAppointViewModel.swift
...pointCertificate(3 赴港办证预约)/VM/YHCerAppointViewModel.swift
+40
-0
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+3
-1
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
4d2b09a0
...
...
@@ -126,6 +126,7 @@
04358E042C77322700811928
/* YHHaveGrabbedNumberListCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04358E032C77322700811928
/* YHHaveGrabbedNumberListCell.swift */
;
};
04358E062C77334B00811928
/* YHHaveGrabbedNumberInfoView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04358E052C77334B00811928
/* YHHaveGrabbedNumberInfoView.swift */
;
};
04358E082C77657000811928
/* YHReAppointViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04358E072C77657000811928
/* YHReAppointViewController.swift */
;
};
04358E0A2C7835B000811928
/* YHMakeCertificatePlaceModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04358E092C7835B000811928
/* YHMakeCertificatePlaceModel.swift */
;
};
0435FA7F2BA178C100024EAE
/* YHCommonAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0435FA7E2BA178C100024EAE
/* YHCommonAlertView.swift */
;
};
0435FA812BA186D600024EAE
/* YHMyFileMethodTableViewCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0435FA802BA186D600024EAE
/* YHMyFileMethodTableViewCell.swift */
;
};
0435FA832BA2DEB100024EAE
/* YHCardButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0435FA822BA2DEB100024EAE
/* YHCardButton.swift */
;
};
...
...
@@ -873,6 +874,7 @@
04358E032C77322700811928
/* YHHaveGrabbedNumberListCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHaveGrabbedNumberListCell.swift
;
sourceTree
=
"<group>"
;
};
04358E052C77334B00811928
/* YHHaveGrabbedNumberInfoView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHaveGrabbedNumberInfoView.swift
;
sourceTree
=
"<group>"
;
};
04358E072C77657000811928
/* YHReAppointViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHReAppointViewController.swift
;
sourceTree
=
"<group>"
;
};
04358E092C7835B000811928
/* YHMakeCertificatePlaceModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMakeCertificatePlaceModel.swift
;
sourceTree
=
"<group>"
;
};
0435FA7E2BA178C100024EAE
/* YHCommonAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCommonAlertView.swift
;
sourceTree
=
"<group>"
;
};
0435FA802BA186D600024EAE
/* YHMyFileMethodTableViewCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyFileMethodTableViewCell.swift
;
sourceTree
=
"<group>"
;
};
0435FA822BA2DEB100024EAE
/* YHCardButton.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCardButton.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1645,6 +1647,7 @@
04256E222C76D22400A37BA4
/* YHAppointItem.swift */
,
04256E1A2C75C60C00A37BA4
/* YHHKMemberModel.swift */
,
04256E1C2C75C74200A37BA4
/* YHAppointHKResultModel.swift */
,
04358E092C7835B000811928
/* YHMakeCertificatePlaceModel.swift */
,
);
path
=
M
;
sourceTree
=
"<group>"
;
...
...
@@ -4309,6 +4312,7 @@
A5ACE94A2B4564F7002C94D2
/* YHHUDProgressView.swift in Sources */
,
04A271232BABFF3200652B1B
/* YHCertificateUploadTypeCell.swift in Sources */
,
04B360F32C636525001EB053
/* YHPrincipleWaitResultViewController.swift in Sources */
,
04358E0A2C7835B000811928
/* YHMakeCertificatePlaceModel.swift in Sources */
,
A582B2412BB95998009D098C
/* YHHKPlanTipsCell.swift in Sources */
,
A5D0012C2BABC84A001F003C
/* YHFileListBottomView.swift in Sources */
,
0485DFDC2C670C7200B50293
/* YHPrincipleSendMailView.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/M/YHMakeCertificatePlaceModel.swift
0 → 100644
View file @
4d2b09a0
//
// YHMakeCertificatePlaceModel.swift
// galaxy
//
// Created by edy on 2024/8/23.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
SmartCodable
class
YHMakeCertificatePlaceModel
:
SmartCodable
{
var
id
:
Int
=
0
var
name
:
String
=
""
required
init
()
{
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHInfoItemSelectSheetView.swift
View file @
4d2b09a0
...
...
@@ -29,6 +29,7 @@ class YHInfoItemSelectSheetView: UIView {
// 显示placeHolder
detailLabel
.
text
=
self
.
placeHolder
detailLabel
.
textColor
=
.
placeHolderColor
detailLabel
.
textAlignment
=
.
left
return
}
detailLabel
.
text
=
detail
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/VM/YHCerAppointViewModel.swift
View file @
4d2b09a0
...
...
@@ -12,6 +12,7 @@ class YHCerAppointViewModel: NSObject {
var
serviceArr
:
[
YHServiceItem
]
=
[]
var
hkUsers
:
[
YHHKMemberModel
]
=
[]
var
placeList
:
[
YHMakeCertificatePlaceModel
]
=
[]
var
appointResult
:
YHAppointHKResultModel
=
YHAppointHKResultModel
()
// 获取香港服务列表
...
...
@@ -212,6 +213,45 @@ class YHCerAppointViewModel: NSObject {
callback
?(
false
)
}
}
func
getMakeCerPlaceList
(
callback
:((
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())?)
{
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
AppointHK
.
cerPlaceList
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
guard
let
self
=
self
else
{
return
}
printLog
(
"model 是 ==>
\(
json
)
"
)
if
json
.
code
==
200
{
let
dic
=
json
.
data
guard
let
arr
=
[
YHMakeCertificatePlaceModel
]
.
deserialize
(
array
:
dic
as?
[
Any
])
else
{
let
err
=
YHErrorModel
(
errorCode
:
YHErrorCode
.
dictParseError
.
rawValue
,
errorMsg
:
YHErrorCode
.
dictParseError
.
description
())
self
.
placeList
=
[]
callback
?(
false
,
err
)
return
}
self
.
placeList
.
removeAll
()
for
user
in
arr
{
if
let
user
=
user
{
self
.
placeList
.
append
(
user
)
}
}
callback
?(
true
,
nil
)
}
else
{
let
err
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
.
isEmpty
?
""
:
json
.
msg
)
self
.
placeList
=
[]
callback
?(
false
,
err
)
}
}
failBlock
:
{
err
in
self
.
placeList
=
[]
callback
?(
false
,
err
)
}
}
}
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
4d2b09a0
...
...
@@ -445,7 +445,8 @@ class YHAllApiName {
static
let
saveNeedGoHK
=
"super-app/order/hk/save-need-to-hk"
// 取消预约
static
let
cancelAppoint
=
"super-app/reservation/cancel"
// 港府办证地点列表
static
let
cerPlaceList
=
"super-app/order/hk/select-position-list"
}
// 新增受养人
...
...
@@ -458,6 +459,7 @@ class YHAllApiName {
static
let
managementAdd
=
"super-app/order/information/management/add"
static
let
del
=
"super-app/order/information/dependents/del"
}
}
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