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
89d2148f
Commit
89d2148f
authored
Sep 07, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into alexzhu
parents
a6298044
dcc77b02
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
78 additions
and
43 deletions
+78
-43
Fastfile
galaxy/fastlane/Fastfile
+1
-1
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-4
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+5
-0
YHInformationAuthorizationStepOneViewController.swift
...)/C/YHInformationAuthorizationStepOneViewController.swift
+3
-1
YHAddAdoptersViewController.swift
...)/AddAdopters(2新增受养人)/C/YHAddAdoptersViewController.swift
+1
-1
YHAdopterIncomeDetailViewController.swift
...pters(2新增受养人)/C/YHAdopterIncomeDetailViewController.swift
+2
-2
YHAdopterIncomeTableViewCell.swift
.../AddAdopters(2新增受养人)/V/YHAdopterIncomeTableViewCell.swift
+6
-5
YHAdopterIncomeTitleTableViewCell.swift
...dopters(2新增受养人)/V/YHAdopterIncomeTitleTableViewCell.swift
+1
-1
YHFamilyGroupModel.swift
...段)/FamilyInfoConfirm(1 家庭信息确认)/M/YHFamilyGroupModel.swift
+1
-0
YHCertificateInfoPhotoCell.swift
...yInfoConfirm(1 家庭信息确认)/V/YHCertificateInfoPhotoCell.swift
+3
-3
YHIFamilyInfoListCell.swift
...FamilyInfoConfirm(1 家庭信息确认)/V/YHIFamilyInfoListCell.swift
+1
-1
YHFamilyInfoConfirmViewModel.swift
...foConfirm(1 家庭信息确认)/VM/YHFamilyInfoConfirmViewModel.swift
+12
-10
YHUploadCertificateVC.swift
.../UploadCertificate(7上传过关证件)/C/YHUploadCertificateVC.swift
+9
-6
YHJsApi.swift
...galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
+6
-5
YHUserInfoSettingViewController.swift
...Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
+4
-1
YHEditBaseUserInfoViewController.swift
...我的)/MyCard(我的名片)/C/YHEditBaseUserInfoViewController.swift
+4
-1
YHUatHelper.swift
.../galaxy/Classes/Modules/UatModule(灰度功能)/YHUatHelper.swift
+6
-0
YHUatHelperViewModel.swift
...lasses/Modules/UatModule(灰度功能)/YHUatHelperViewModel.swift
+2
-1
String+Extension.swift
galaxy/galaxy/Classes/Tools/Extention/String+Extension.swift
+7
-0
Group 2033195466@2x.png
.../family_certificate_info.imageset/Group 2033195466@2x.png
+0
-0
Group 2033195466@3x.png
.../family_certificate_info.imageset/Group 2033195466@3x.png
+0
-0
2@2x.png
...ter/客服段/正式批/official_approval_guideline.imageset/2@2x.png
+0
-0
3@3x.png
...ter/客服段/正式批/official_approval_guideline.imageset/3@3x.png
+0
-0
No files found.
galaxy/fastlane/Fastfile
View file @
89d2148f
...
@@ -9,7 +9,7 @@ platform :ios do
...
@@ -9,7 +9,7 @@ platform :ios do
release_profile_name = "dis.intelligence.com"
release_profile_name = "dis.intelligence.com"
adhoc_pgyer_api_key = "ba79f62a052072f2486ad29632fefd46"
adhoc_pgyer_api_key = "ba79f62a052072f2486ad29632fefd46"
release_pgyer_api_key = "
0973bc04e2c592317806c6268eaa207a
"
release_pgyer_api_key = "
80288e92bc9ff83c45df5d0ee778853b
"
# bugly app_id
# bugly app_id
adhoc_bugly_app_id = "3b10faa43e"
adhoc_bugly_app_id = "3b10faa43e"
...
...
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
89d2148f
...
@@ -5132,7 +5132,7 @@
...
@@ -5132,7 +5132,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
6
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -5274,7 +5274,7 @@
...
@@ -5274,7 +5274,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
6
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -5479,7 +5479,7 @@
...
@@ -5479,7 +5479,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
6
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -5526,7 +5526,7 @@
...
@@ -5526,7 +5526,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
6
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
...
galaxy/galaxy/AppDelegate.swift
View file @
89d2148f
...
@@ -154,6 +154,11 @@ extension AppDelegate {
...
@@ -154,6 +154,11 @@ extension AppDelegate {
//3、AGC 短链相关
//3、AGC 短链相关
AGCInstance
.
startUp
()
AGCInstance
.
startUp
()
AGCAppLinking
.
instance
()
.
handle
{
(
link
,
error
)
in
let
deepLink
=
link
?
.
deepLink
//TODO: 增加deeplink地址跳转
print
(
deepLink
as
Any
)
}
}
}
//2.通用全局UI设置相关
//2.通用全局UI设置相关
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHInformationAuthorizationStepOneViewController.swift
View file @
89d2148f
...
@@ -186,7 +186,9 @@ class YHInformationAuthorizationStepOneViewController: YHBaseViewController {
...
@@ -186,7 +186,9 @@ class YHInformationAuthorizationStepOneViewController: YHBaseViewController {
self
.
photoImageView
.
image
=
result
self
.
photoImageView
.
image
=
result
self
.
viewModel
.
uploadImage
(
result
,
true
)
{[
weak
self
]
success
,
error
in
self
.
viewModel
.
uploadImage
(
result
,
true
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
viewModel
.
model
.
avatar
=
success
??
""
var
replacedString
=
(
success
??
""
)
.
getCdnUrl
()
print
(
replacedString
)
self
.
viewModel
.
model
.
avatar
=
replacedString
}
}
}
}
self
.
navigationController
?
.
pushViewController
(
clipperVC
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
clipperVC
,
animated
:
true
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAddAdoptersViewController.swift
View file @
89d2148f
...
@@ -251,7 +251,7 @@ extension YHAddAdoptersViewController: UITableViewDelegate, UITableViewDataSourc
...
@@ -251,7 +251,7 @@ extension YHAddAdoptersViewController: UITableViewDelegate, UITableViewDataSourc
return
CGFloat
(
156
+
count
*
52
)
return
CGFloat
(
156
+
count
*
52
)
}
}
if
indexPath
.
row
==
3
{
if
indexPath
.
row
==
3
{
return
19
9
return
20
9
}
}
return
40
return
40
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterIncomeDetailViewController.swift
View file @
89d2148f
...
@@ -337,9 +337,9 @@ extension YHAdopterIncomeDetailViewController: UITableViewDelegate, UITableViewD
...
@@ -337,9 +337,9 @@ extension YHAdopterIncomeDetailViewController: UITableViewDelegate, UITableViewD
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
indexPath
.
row
==
0
{
if
indexPath
.
row
==
0
{
if
self
.
data
.
status
==
2
{
if
self
.
data
.
status
==
2
{
return
1
1
9
return
1
3
9
}
else
{
}
else
{
return
8
6
return
10
6
}
}
}
}
if
indexPath
.
row
==
1
{
if
indexPath
.
row
==
1
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterIncomeTableViewCell.swift
View file @
89d2148f
...
@@ -81,11 +81,12 @@ class YHAdopterIncomeTableViewCell: UITableViewCell {
...
@@ -81,11 +81,12 @@ class YHAdopterIncomeTableViewCell: UITableViewCell {
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
let
a
:
ASAttributedString
=
.
init
(
"温馨提示:"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor50
))
let
a
:
ASAttributedString
=
.
init
(
"温馨提示:存款证明需主申名下,"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor50
))
let
b
:
ASAttributedString
=
.
init
(
"存款证明有效期为3个月"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
b
:
ASAttributedString
=
.
init
(
"申请前近3个月内开具有效"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
c
:
ASAttributedString
=
.
init
(
",并且存款金额为每个成员(包括额外新增受养人)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor50
))
let
c
:
ASAttributedString
=
.
init
(
",总存款金额为所有家庭成员(包括额外新增受养人)的"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor50
))
let
d
:
ASAttributedString
=
.
init
(
"最低为12万"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
d
:
ASAttributedString
=
.
init
(
"个数乘以12万"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
label
.
attributed
.
text
=
a
+
b
+
c
+
d
let
e
:
ASAttributedString
=
.
init
(
",如一家三口则需主申直接开具36万"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor50
))
label
.
attributed
.
text
=
a
+
b
+
c
+
d
+
e
return
label
return
label
}()
}()
centerView
.
addSubview
(
alertLabel
)
centerView
.
addSubview
(
alertLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterIncomeTitleTableViewCell.swift
View file @
89d2148f
...
@@ -92,7 +92,7 @@ class YHAdopterIncomeTitleTableViewCell: UITableViewCell {
...
@@ -92,7 +92,7 @@ class YHAdopterIncomeTitleTableViewCell: UITableViewCell {
alertLabel
=
{
alertLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"存款证明
有效期为3个月,并且存款金额为每个成员(包括额外新增受养人)最低为12
万"
label
.
text
=
"存款证明
需主申名下,申请前近3个月内开具有效,总存款金额为所有家庭成员(包括额外新增受养人)的个数乘以12万,如一家三口则需主申直接开具36
万"
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(1 家庭信息确认)/M/YHFamilyGroupModel.swift
View file @
89d2148f
...
@@ -118,6 +118,7 @@ class YHFamilyMemberInfoModel: SmartCodable {
...
@@ -118,6 +118,7 @@ class YHFamilyMemberInfoModel: SmartCodable {
}
}
func
getBirthNation
()
->
String
{
func
getBirthNation
()
->
String
{
if
self
.
birthPlaceAboard
==
"0"
{
if
self
.
birthPlaceAboard
==
"0"
{
return
"国内"
return
"国内"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(1 家庭信息确认)/V/YHCertificateInfoPhotoCell.swift
View file @
89d2148f
...
@@ -33,11 +33,11 @@ class YHCertificateInfoPhotoCell: UITableViewCell {
...
@@ -33,11 +33,11 @@ class YHCertificateInfoPhotoCell: UITableViewCell {
self
.
contentView
.
backgroundColor
=
.
clear
self
.
contentView
.
backgroundColor
=
.
clear
contentView
.
addSubview
(
infoImgView
)
contentView
.
addSubview
(
infoImgView
)
infoImgView
.
snp
.
makeConstraints
{
make
in
infoImgView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
1
8
)
make
.
left
.
equalTo
(
1
6
)
make
.
right
.
equalTo
(
-
1
8
)
make
.
right
.
equalTo
(
-
1
6
)
make
.
top
.
equalTo
(
0
)
make
.
top
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
0
)
make
.
height
.
equalTo
(
infoImgView
.
snp
.
width
)
.
multipliedBy
(
2
716
.0
/
343.0
)
make
.
height
.
equalTo
(
infoImgView
.
snp
.
width
)
.
multipliedBy
(
2
467
.0
/
343.0
)
}
}
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(1 家庭信息确认)/V/YHIFamilyInfoListCell.swift
View file @
89d2148f
...
@@ -264,7 +264,7 @@ class YHIFamilyInfoListCell: UITableViewCell {
...
@@ -264,7 +264,7 @@ class YHIFamilyInfoListCell: UITableViewCell {
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
item
.
id
==
.
birthNation
{
if
item
.
id
==
.
birthNation
{
familyInfo
.
birthPlaceAboard
=
"
\(
selectItem
.
index
)
"
familyInfo
.
birthPlaceAboard
=
"
\(
selectItem
.
index
)
"
self
.
selectBirthNation
?(
familyInfo
.
birthPlaceAboard
==
"0
"
)
self
.
selectBirthNation
?(
familyInfo
.
birthPlaceAboard
!=
"1
"
)
}
}
}
}
itemsContentView
.
addSubview
(
itemView
)
itemsContentView
.
addSubview
(
itemView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(1 家庭信息确认)/VM/YHFamilyInfoConfirmViewModel.swift
View file @
89d2148f
...
@@ -238,8 +238,8 @@ extension YHFamilyInfoConfirmViewModel {
...
@@ -238,8 +238,8 @@ extension YHFamilyInfoConfirmViewModel {
// 出生国家/地区
// 出生国家/地区
let
birthNation
=
model
.
info
.
getBirthNation
()
let
birthNation
=
model
.
info
.
getBirthNation
()
let
historyBirthNation
=
model
.
info
.
getHistoryBirthNation
()
let
historyBirthNation
=
model
.
info
.
getHistoryBirthNation
()
let
options
=
[
YHFamilyInfoOption
(
index
:
0
,
value
:
"国内"
,
isSelect
:
model
.
info
.
birthPlaceAboard
==
"0
"
),
let
options
=
[
YHFamilyInfoOption
(
index
:
0
,
value
:
"国内"
,
isSelect
:
model
.
info
.
birthPlaceAboard
!=
"1
"
),
YHFamilyInfoOption
(
index
:
1
,
value
:
"国外"
,
isSelect
:
model
.
info
.
birthPlaceAboard
!=
"0
"
)]
YHFamilyInfoOption
(
index
:
1
,
value
:
"国外"
,
isSelect
:
model
.
info
.
birthPlaceAboard
==
"1
"
)]
let
birthNationInfo
=
YHFamilyInfoItem
(
id
:
.
birthNation
,
let
birthNationInfo
=
YHFamilyInfoItem
(
id
:
.
birthNation
,
action
:
.
choice
,
action
:
.
choice
,
...
@@ -257,22 +257,24 @@ extension YHFamilyInfoConfirmViewModel {
...
@@ -257,22 +257,24 @@ extension YHFamilyInfoConfirmViewModel {
var
birthPlaceActionType
=
YHFamilyInfoActionType
.
select
var
birthPlaceActionType
=
YHFamilyInfoActionType
.
select
// 出生地
// 出生地
var
birthPlace
=
""
var
birthPlace
=
""
if
model
.
info
.
birthPlaceAboard
==
"0"
{
// 当前出生国家是国内
if
model
.
info
.
birthPlaceAboard
==
"1"
{
// 当前出生国家是国外
birthPlaceId
=
.
birthPlaceInChina
birthPlaceActionType
=
.
select
birthPlace
=
model
.
info
.
birthPlace
.
area
.
joined
(
separator
:
""
)
}
else
{
birthPlaceId
=
.
birthPlaceAboard
birthPlaceId
=
.
birthPlaceAboard
birthPlaceActionType
=
.
edit
birthPlaceActionType
=
.
edit
birthPlace
=
model
.
info
.
birthPlace
.
foreign
birthPlace
=
model
.
info
.
birthPlace
.
foreign
}
else
{
birthPlaceId
=
.
birthPlaceInChina
birthPlaceActionType
=
.
select
birthPlace
=
model
.
info
.
birthPlace
.
area
.
joined
(
separator
:
""
)
}
}
//
//
var
birthPlaceHistory
=
""
var
birthPlaceHistory
=
""
if
model
.
info
.
birthPlaceAboardHistory
==
"0"
{
// 原出生国家是国内
if
model
.
info
.
birthPlaceAboardHistory
==
"1"
{
// 原出生国家是国外
birthPlaceHistory
=
model
.
info
.
birthPlaceHistory
.
area
.
joined
(
separator
:
""
)
}
else
{
birthPlaceHistory
=
model
.
info
.
birthPlaceHistory
.
foreign
birthPlaceHistory
=
model
.
info
.
birthPlaceHistory
.
foreign
}
else
{
birthPlaceHistory
=
model
.
info
.
birthPlaceHistory
.
area
.
joined
(
separator
:
""
)
}
}
let
birthPlaceInfo
=
YHFamilyInfoItem
(
id
:
birthPlaceId
,
let
birthPlaceInfo
=
YHFamilyInfoItem
(
id
:
birthPlaceId
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/UploadCertificate(7上传过关证件)/C/YHUploadCertificateVC.swift
View file @
89d2148f
...
@@ -196,17 +196,20 @@ extension YHUploadCertificateVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -196,17 +196,20 @@ extension YHUploadCertificateVC: UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
vc
=
YHUploadCertificateDetailVC
()
let
vc
=
YHUploadCertificateDetailVC
()
//
if
let
model
=
viewModel
.
uploadCertificateDataListModel
{
if
let
model
=
viewModel
.
uploadCertificateDataListModel
{
var
tmp
:
YHUploadCertificateModel
?
var
tmp
:
YHUploadCertificateModel
?
if
indexPath
.
section
==
0
{
if
indexPath
.
section
==
0
{
tmp
=
model
.
small_whites
[
indexPath
.
row
-
1
]
if
model
.
small_whites
.
count
>
0
,
indexPath
.
row
-
1
<
model
.
small_whites
.
count
{
vc
.
detailType
=
.
SmallWhiteNote
tmp
=
model
.
small_whites
[
indexPath
.
row
-
1
]
vc
.
detailType
=
.
SmallWhiteNote
}
}
else
if
indexPath
.
section
==
1
{
}
else
if
indexPath
.
section
==
1
{
tmp
=
model
.
id_cards
[
indexPath
.
row
-
1
]
if
model
.
id_cards
.
count
>
0
,
indexPath
.
row
-
1
<
model
.
id_cards
.
count
{
vc
.
detailType
=
.
HongKongCard
tmp
=
model
.
id_cards
[
indexPath
.
row
-
1
]
vc
.
detailType
=
.
HongKongCard
}
}
}
if
let
tmp
=
tmp
{
if
let
tmp
=
tmp
{
vc
.
dataModel
=
tmp
vc
.
dataModel
=
tmp
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
...
...
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
View file @
89d2148f
...
@@ -19,11 +19,12 @@ class YHJsApi: NSObject {
...
@@ -19,11 +19,12 @@ class YHJsApi: NSObject {
extension
YHJsApi
{
extension
YHJsApi
{
//4、跳转到 办证3 - 赴港时间预约界面
//4、跳转到 办证3 - 赴港时间预约界面
@objc
func
gotoAppointCertificateSyn
(
_
orderID
:
String
)
{
@objc
func
gotoAppointCertificateSyn
(
_
orderID
:
String
)
{
DispatchQueue
.
main
.
async
{
if
let
orderId
=
Int
(
orderID
)
{
if
let
orderId
=
Int
(
orderID
)
{
let
vc
=
YHCertificateAppointViewController
()
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
delegate
?
.
navigationController
?
.
pushViewController
(
vc
)
self
.
delegate
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
View file @
89d2148f
...
@@ -164,7 +164,10 @@ class YHUserInfoSettingViewController: YHBaseViewController {
...
@@ -164,7 +164,10 @@ class YHUserInfoSettingViewController: YHBaseViewController {
self
.
photoImageView
.
image
=
result
self
.
photoImageView
.
image
=
result
self
.
viewModel
.
uploadImage
(
result
,
true
)
{[
weak
self
]
success
,
error
in
self
.
viewModel
.
uploadImage
(
result
,
true
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
headUrl
=
success
??
""
let
replacedString
=
(
success
??
""
)
.
getCdnUrl
()
print
(
replacedString
)
self
.
headUrl
=
replacedString
}
}
}
}
self
.
navigationController
?
.
pushViewController
(
clipperVC
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
clipperVC
,
animated
:
true
)
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/MyCard(我的名片)/C/YHEditBaseUserInfoViewController.swift
View file @
89d2148f
...
@@ -151,7 +151,10 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
...
@@ -151,7 +151,10 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
self
.
photoImageView
.
image
=
result
self
.
photoImageView
.
image
=
result
self
.
viewModel
.
uploadImage
(
result
,
true
)
{[
weak
self
]
success
,
error
in
self
.
viewModel
.
uploadImage
(
result
,
true
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
viewModel
.
model
.
avatar
=
success
??
""
var
replacedString
=
(
success
??
""
)
.
getCdnUrl
()
print
(
replacedString
)
viewModel
.
model
.
avatar
=
replacedString
if
self
.
viewModel
.
isCanNext
(
step
:
1
)
{
if
self
.
viewModel
.
isCanNext
(
step
:
1
)
{
nextButton
.
isEnabled
=
true
nextButton
.
isEnabled
=
true
nextButton
.
backgroundColor
=
UIColor
.
brandMainColor
nextButton
.
backgroundColor
=
UIColor
.
brandMainColor
...
...
galaxy/galaxy/Classes/Modules/UatModule(灰度功能)/YHUatHelper.swift
View file @
89d2148f
...
@@ -22,6 +22,8 @@ enum YHUatModules: Int {
...
@@ -22,6 +22,8 @@ enum YHUatModules: Int {
8、更新-强制更新弹窗、true
8、更新-强制更新弹窗、true
9、更新-建议更新弹窗、false
9、更新-建议更新弹窗、false
10、七鱼智能客服、false
*/
*/
case
Mine_Unknow
=
0
case
Mine_Unknow
=
0
...
@@ -37,6 +39,8 @@ enum YHUatModules: Int {
...
@@ -37,6 +39,8 @@ enum YHUatModules: Int {
case
Update_Fource
=
8
//更新-强制更新弹窗
case
Update_Fource
=
8
//更新-强制更新弹窗
case
Update_Suggest
=
9
//更新-建议更新弹窗
case
Update_Suggest
=
9
//更新-建议更新弹窗
case
QiYu_Service
=
10
//七鱼智能客服入口
//1-可见 2-不可见 3-新界面
//1-可见 2-不可见 3-新界面
var
defaultValue
:
Int
{
var
defaultValue
:
Int
{
...
@@ -60,6 +64,8 @@ enum YHUatModules: Int {
...
@@ -60,6 +64,8 @@ enum YHUatModules: Int {
return
2
return
2
case
.
Update_Suggest
:
case
.
Update_Suggest
:
return
2
return
2
case
.
QiYu_Service
:
return
2
default
:
default
:
return
2
return
2
}
}
...
...
galaxy/galaxy/Classes/Modules/UatModule(灰度功能)/YHUatHelperViewModel.swift
View file @
89d2148f
...
@@ -31,6 +31,7 @@ class YHUatModel : HandyJSON {
...
@@ -31,6 +31,7 @@ class YHUatModel : HandyJSON {
7、服务-订单搜索、false
7、服务-订单搜索、false
8、更新-强制更新弹窗、true
8、更新-强制更新弹窗、true
9、更新-建议更新弹窗、false
9、更新-建议更新弹窗、false
10、七鱼智能客服、false
*/
*/
var
module_number
:
String
=
""
var
module_number
:
String
=
""
var
result
:
Int
=
0
//命中结果 0-未找到该规则,走默认逻辑 1-未命中,2-命中
var
result
:
Int
=
0
//命中结果 0-未找到该规则,走默认逻辑 1-未命中,2-命中
...
@@ -61,7 +62,7 @@ extension YHUatHelperViewModel {
...
@@ -61,7 +62,7 @@ extension YHUatHelperViewModel {
return
return
}
}
let
params
:
[
String
]
=
[
"1"
,
"2"
,
"3"
,
"4"
,
"5"
,
"6"
,
"9"
]
let
params
:
[
String
]
=
[
"1"
,
"2"
,
"3"
,
"4"
,
"5"
,
"6"
,
"9"
,
"10"
]
var
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Uat
.
uatListApi
var
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Uat
.
uatListApi
for
(
index
,
item
)
in
params
.
enumerated
()
{
for
(
index
,
item
)
in
params
.
enumerated
()
{
if
index
==
0
{
if
index
==
0
{
...
...
galaxy/galaxy/Classes/Tools/Extention/String+Extension.swift
View file @
89d2148f
...
@@ -322,4 +322,11 @@ extension String {
...
@@ -322,4 +322,11 @@ extension String {
}
}
return
nil
return
nil
}
}
//头像使用cdn地址
func
getCdnUrl
()
->
String
{
var
replacedString
=
self
.
replacingOccurrences
(
of
:
"prod-bucket-v1-pub.oss-cn-shenzhen.aliyuncs.com"
,
with
:
"prod-cdn-pub.galaxy-immi.com"
)
replacedString
=
replacedString
.
replacingOccurrences
(
of
:
"test-bucket-v1-pub.oss-cn-shenzhen.aliyuncs.com"
,
with
:
"test-cdn-pub.galaxy-immi.com"
)
return
replacedString
}
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/1 家庭信息确认/family_certificate_info.imageset/Group 2033195466@2x.png
View replaced file @
a6298044
View file @
89d2148f
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/1 家庭信息确认/family_certificate_info.imageset/Group 2033195466@3x.png
View replaced file @
a6298044
View file @
89d2148f
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/正式批/official_approval_guideline.imageset/2@2x.png
View replaced file @
a6298044
View file @
89d2148f
383 KB
|
W:
|
H:
384 KB
|
W:
|
H:
2-up
Swipe
Onion skin
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/正式批/official_approval_guideline.imageset/3@3x.png
View replaced file @
a6298044
View file @
89d2148f
This diff is collapsed.
Click to expand it.
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