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
5e5d8f72
Commit
5e5d8f72
authored
Mar 07, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
c7be0525
' into xiezhaolin
parents
a4a50f0b
c7be0525
Changes
27
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
459 additions
and
390 deletions
+459
-390
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+6
-2
YHInformationPerfectListVC.swift
...telligentService(服务中心)/C/YHInformationPerfectListVC.swift
+3
-0
YHCertificateInfoController.swift
...Certificates(证书上传和证书信息)/YHCertificateInfoController.swift
+2
-2
YHCertificateUploadVC.swift
...息表)/C/Certificates(证书上传和证书信息)/YHCertificateUploadVC.swift
+1
-0
YHChildBasicInfoVC.swift
...amilyMember(家庭成员信息表)/C/Child(子女)/YHChildBasicInfoVC.swift
+1
-0
YHChildPrimaryInfoVC.swift
...ilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
+5
-2
YHSpouseBasicInfoVC.swift
...ilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
+1
-0
YHSpousePrimaryInfoVC.swift
...yMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
+1
-0
YHFamilyInitialInfo.swift
...ess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+0
-0
YHFamilyMemberViewModel.swift
...流程)/FamilyMember(家庭成员信息表)/M/YHFamilyMemberViewModel.swift
+4
-4
YHFamilyRequestViewModel.swift
...程)/FamilyMember(家庭成员信息表)/M/YHFamilyRequestViewModel.swift
+1
-1
YHSheetPickerView.swift
...amilyMember(家庭成员信息表)/V/PickerView/YHSheetPickerView.swift
+2
-2
YHFormItemDoubleChoiceCell.swift
.../FamilyMember(家庭成员信息表)/V/YHFormItemDoubleChoiceCell.swift
+12
-6
YHItemView.swift
...s(流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
+3
-3
YHMainApplicantInformationViewModel.swift
...tion(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
+4
-4
YHOtherInfoFillModel.swift
...s(流程)/OtherInformation(其他信息)/M/YHOtherInfoFillModel.swift
+1
-1
YHOtherInfoFillCell.swift
...ss(流程)/OtherInformation(其他信息)/V/YHOtherInfoFillCell.swift
+3
-1
YHOtherPickerView.swift
...cess(流程)/OtherInformation(其他信息)/V/YHOtherPickerView.swift
+10
-36
YHOtherInfoFillViewModel.swift
.../OtherInformation(其他信息)/VM/YHOtherInfoFillViewModel.swift
+2
-310
YHMainInfoPreviewModel.swift
...流程)/PersonInfoList(个人信息预览)/M/YHMainInfoPreviewModel.swift
+1
-1
YHPreviewViewModel.swift
...ss(流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
+0
-0
YHWorkExperienceItemView.swift
...流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
+5
-5
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+2
-1
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+1
-1
YHBaseUrlManager.swift
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
+8
-7
YHConstantArrayData.swift
...xy/galaxy/Classes/Tools/NetWork/YHConstantArrayData.swift
+380
-0
YHNetRequest.swift
galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
+0
-1
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
5e5d8f72
...
...
@@ -172,6 +172,7 @@
A554A50A2B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A5092B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift */
;
};
A554A50C2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A50B2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift */
;
};
A554A5102B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A50F2B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift */
;
};
A554A5122B99715000EA5973
/* YHConstantArrayData.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A5112B99715000EA5973
/* YHConstantArrayData.swift */
;
};
A5551FFE2B4C26CE00510980
/* YHBaseViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5551FFD2B4C26CE00510980
/* YHBaseViewModel.swift */
;
};
A5573ED22B317BFF00D98EC0
/* AppDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5573ED12B317BFF00D98EC0
/* AppDelegate.swift */
;
};
A5573EDB2B317C0000D98EC0
/* Assets.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5573EDA2B317C0000D98EC0
/* Assets.xcassets */
;
};
...
...
@@ -492,6 +493,7 @@
A554A5092B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoWorkExpView.swift
;
sourceTree
=
"<group>"
;
};
A554A50B2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoProjectItemView.swift
;
sourceTree
=
"<group>"
;
};
A554A50F2B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoWorkSummaryView.swift
;
sourceTree
=
"<group>"
;
};
A554A5112B99715000EA5973
/* YHConstantArrayData.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHConstantArrayData.swift
;
sourceTree
=
"<group>"
;
};
A5551FFD2B4C26CE00510980
/* YHBaseViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBaseViewModel.swift
;
sourceTree
=
"<group>"
;
};
A5573ECE2B317BFF00D98EC0
/* galaxy.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
galaxy.app
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
A5573ED12B317BFF00D98EC0
/* AppDelegate.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AppDelegate.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1403,6 +1405,7 @@
A5ACE8F42B4564F7002C94D2
/* YHNetRequest.swift */
,
A5ACE8F52B4564F7002C94D2
/* YHNetworkStatusManager.swift */
,
A5ACE8F62B4564F7002C94D2
/* YHBaseUrlManager.swift */
,
A554A5112B99715000EA5973
/* YHConstantArrayData.swift */
,
);
path
=
NetWork
;
sourceTree
=
"<group>"
;
...
...
@@ -2080,6 +2083,7 @@
042FBBCB2B65058000F9DE23
/* YHChildBasicInfoVC.swift in Sources */
,
04E86E6A2B87352700A35F4B
/* YHCompanySelectViewController.swift in Sources */
,
A5191F602B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswerItemView.swift in Sources */
,
A554A5122B99715000EA5973
/* YHConstantArrayData.swift in Sources */
,
04B0239E2B92C27C00B83629
/* YHFamilyMemberViewModel.swift in Sources */
,
04E86E452B8357EC00A35F4B
/* YHItemModel.swift in Sources */
,
A5B4A5852B9455F7003EFF8F
/* YHPreviewForOtherInfoModel.swift in Sources */
,
...
...
@@ -2268,7 +2272,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
@@ -2310,7 +2314,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHInformationPerfectListVC.swift
View file @
5e5d8f72
...
...
@@ -180,7 +180,10 @@ extension YHInformationPerfectListVC {
return
}
YHHUD
.
show
(
.
progress
(
message
:
"数据提交中...."
))
serviceCenterMainReqVM
.
submitAllInfoOp
(
params
:
[
"orderId"
:
orderId
])
{
[
weak
self
]
success
,
error
in
YHHUD
.
hide
()
if
success
==
true
{
let
model
=
self
?
.
serviceCenterMainReqVM
.
allInfoScoreModel
YHSubmintAllInfoSuccessTipView
.
showCheckView
(
model
:
model
)
{
agree
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Certificates(证书上传和证书信息)/YHCertificateInfoController.swift
View file @
5e5d8f72
...
...
@@ -44,6 +44,7 @@ class YHCertificateInfoController: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
createUI
()
loadInfo
()
}
...
...
@@ -242,7 +243,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
cell
.
isMust
=
detailItem
.
isNeed
cell
.
title
=
detailItem
.
getTitle
()
cell
.
detail
=
detailItem
.
value
cell
.
setTips
(
detailItem
.
tips
,
isShow
:
isNeedShowError
&&
detailItem
.
isShowTips
)
cell
.
setTips
(
detailItem
.
tips
,
isShow
:
isNeedShowError
&&
detailItem
.
is
Need
&&
detailItem
.
is
ShowTips
)
return
cell
}
}
...
...
@@ -392,7 +393,6 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
||
familyMember
.
certificates
.
hkMacaoPass
.
issueAt
.
count
<=
0
||
familyMember
.
certificates
.
hkMacaoPass
.
issueDateStartAt
.
count
<=
0
||
familyMember
.
certificates
.
hkMacaoPass
.
issueDateEndAt
.
count
<=
0
||
familyMember
.
certificates
.
hkMacaoPass
.
passPortType
==
-
1
{
return
false
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Certificates(证书上传和证书信息)/YHCertificateUploadVC.swift
View file @
5e5d8f72
...
...
@@ -23,6 +23,7 @@ class YHCertificateUploadVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
gk_navigationBar
.
isHidden
=
true
createUI
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildBasicInfoVC.swift
View file @
5e5d8f72
...
...
@@ -43,6 +43,7 @@ class YHChildBasicInfoVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
createUI
()
loadInfo
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
View file @
5e5d8f72
...
...
@@ -46,6 +46,7 @@ class YHChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
createUI
()
loadInfo
()
}
...
...
@@ -212,7 +213,8 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemDoubleChoiceCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemDoubleChoiceCell
cell
.
isMust
=
detailItem
.
isNeed
cell
.
title
=
detailItem
.
getTitle
()
cell
.
isCanEdit
=
true
cell
.
enableEdit
=
true
cell
.
disableEditTips
=
nil
var
select
=
false
if
let
value
=
detailItem
.
value
{
...
...
@@ -221,7 +223,8 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
if
detailItem
.
type
==
.
isAccompanyToHK
,
let
child
=
child
,
child
.
is18YearsOld
()
{
// 是否随行至香港
// 年满18岁不能随行 随行按钮不可编辑固定为否
cell
.
isCanEdit
=
isFollowCanEdit
cell
.
enableEdit
=
isFollowCanEdit
cell
.
disableEditTips
=
"年满十八岁的子女不能随行至香港"
}
let
answers
=
[
YHFormChoiceItem
(
title
:
"是"
.
local
,
isSelect
:
select
),
YHFormChoiceItem
(
title
:
"否"
.
local
,
isSelect
:
!
select
)]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
View file @
5e5d8f72
...
...
@@ -59,6 +59,7 @@ class YHSpouseBasicInfoVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
createUI
()
loadInfo
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
View file @
5e5d8f72
...
...
@@ -45,6 +45,7 @@ class YHSpousePrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
createUI
()
loadInfo
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
5e5d8f72
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyMemberViewModel.swift
View file @
5e5d8f72
...
...
@@ -79,16 +79,16 @@ class YHFamilyMemberViewModel : YHBaseViewModel{
}
}
if
model
.
term_begins
.
count
!=
0
{
mainModel
.
certificates
.
hkMacaoPass
.
issueDateStartAt
=
model
.
term_begins
.
toTimeString
()
mainModel
.
certificates
.
cnIdentityCard
.
issueDateStartAt
=
model
.
term_begins
.
toTimeString
()
}
if
model
.
end_of_term
.
count
!=
0
{
mainModel
.
certificates
.
hkMacaoPass
.
issueDateEndAt
=
model
.
end_of_term
.
toTimeString
()
mainModel
.
certificates
.
cnIdentityCard
.
issueDateEndAt
=
model
.
end_of_term
.
toTimeString
()
}
if
model
.
issuing_authority
.
count
!=
0
{
mainModel
.
certificates
.
hkMacaoPass
.
issueAt
=
model
.
issuing_authority
mainModel
.
certificates
.
cnIdentityCard
.
issueAt
=
model
.
issuing_authority
}
if
model
.
card_num
.
count
!=
0
{
mainModel
.
certificates
.
hkMacaoPass
.
number
=
model
.
card_num
mainModel
.
certificates
.
cnIdentityCard
.
number
=
model
.
card_num
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyRequestViewModel.swift
View file @
5e5d8f72
...
...
@@ -32,7 +32,7 @@ class YHFamilyRequestViewModel {
callBackBlock
(
false
,
nil
)
return
}
familyInfo
=
resultModel
familyInfo
=
resultModel
.
checkDefaultValue
()
callBackBlock
(
true
,
nil
)
}
failBlock
:
{
err
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/PickerView/YHSheetPickerView.swift
View file @
5e5d8f72
...
...
@@ -230,8 +230,8 @@ class YHSheetPickerView: UIView {
// 是否拥有学位
.
ownDegree
:
[
YHSheetPickerViewItem
(
title
:
"有
学位"
.
local
,
index
:
0
),
YHSheetPickerViewItem
(
title
:
"无
学位"
.
local
,
index
:
1
),
[
YHSheetPickerViewItem
(
title
:
"无
学位"
.
local
,
index
:
0
),
YHSheetPickerViewItem
(
title
:
"有
学位"
.
local
,
index
:
1
),
],
// 学位颁发地区
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemDoubleChoiceCell.swift
View file @
5e5d8f72
...
...
@@ -39,12 +39,9 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
var
isMust
:
Bool
=
false
var
answerBlock
:(([
YHFormChoiceItem
],
Int
)
->
Void
)?
// 是否能点击两个按钮
var
isCanEdit
:
Bool
=
true
{
didSet
{
answer1Btn
.
isUserInteractionEnabled
=
isCanEdit
answer2Btn
.
isUserInteractionEnabled
=
isCanEdit
}
}
var
enableEdit
:
Bool
=
true
// 不能编辑时的提示语
var
disableEditTips
:
String
?
var
title
:
String
?
{
didSet
{
...
...
@@ -222,6 +219,15 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
@objc
func
didClickResponseBtn
(
btn
:
UIButton
)
{
if
!
enableEdit
{
if
let
tips
=
disableEditTips
,
!
tips
.
isEmpty
{
YHHUD
.
flash
(
message
:
tips
)
}
else
{
YHHUD
.
flash
(
message
:
"不可点击"
)
}
return
}
let
selectIndex
=
btn
.
tag
-
answerBaseTag
if
let
resultArr
=
answerArr
,
resultArr
.
count
==
2
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
View file @
5e5d8f72
...
...
@@ -213,7 +213,7 @@ class YHItemView: UIView {
if
dataSource
.
message
==
"0"
{
messageTextField
.
text
=
""
}
let
arr
=
YH
OtherInfoFillViewModel
.
arrIdType
let
arr
=
YH
ConstantArrayData
.
arrIdType
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
...
...
@@ -224,7 +224,7 @@ class YHItemView: UIView {
if
dataSource
.
message
==
"0"
{
messageTextField
.
text
=
""
}
let
arr
=
YH
OtherInfoFillViewModel
.
arrSex
let
arr
=
YH
ConstantArrayData
.
arrSex
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
...
...
@@ -234,7 +234,7 @@ class YHItemView: UIView {
if
dataSource
.
message
==
"0"
{
messageTextField
.
text
=
""
}
let
arr
=
YH
OtherInfoFillViewModel
.
arrMarry
let
arr
=
YH
ConstantArrayData
.
arrMarry
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
View file @
5e5d8f72
...
...
@@ -272,16 +272,16 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
}
}
if
model
.
term_begins
.
count
!=
0
{
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_start_at
=
model
.
term_begins
.
toTimeString
()
mainModel
.
certificates
.
cn_identity_card
.
issue_date_start_at
=
model
.
term_begins
.
toTimeString
()
}
if
model
.
end_of_term
.
count
!=
0
{
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_end_at
=
model
.
end_of_term
.
toTimeString
()
mainModel
.
certificates
.
cn_identity_card
.
issue_date_end_at
=
model
.
end_of_term
.
toTimeString
()
}
if
model
.
issuing_authority
.
count
!=
0
{
mainModel
.
certificates
.
hk_macao_pass
.
issue_at
=
model
.
issuing_authority
mainModel
.
certificates
.
cn_identity_card
.
issue_at
=
model
.
issuing_authority
}
if
model
.
card_num
.
count
!=
0
{
mainModel
.
certificates
.
hk_macao_pass
.
number
=
model
.
card_num
mainModel
.
certificates
.
cn_identity_card
.
number
=
model
.
card_num
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/M/YHOtherInfoFillModel.swift
View file @
5e5d8f72
...
...
@@ -34,7 +34,7 @@ class Residence : SmartCodable {
var
end_time
:
String
=
""
var
order_id
:
Int
=
-
1
var
end_time_checked
:
Bool
=
false
//是否勾选
至今
var
end_time_checked
:
Bool
=
false
//是否勾选
长期
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/V/YHOtherInfoFillCell.swift
View file @
5e5d8f72
...
...
@@ -109,7 +109,9 @@ extension YHOtherInfoFillCell {
lastTargetView
=
residenceView
}
else
{
let
sessionView
=
YHOtherInfoSessionView
(
frame
:
.
zero
)
let
title
=
"居住信息"
+
String
(
index
+
1
)
let
addationIndex
=
dataModel
.
residences
.
count
>
1
?
String
(
index
+
1
)
:
""
let
title
=
"居住信息"
+
addationIndex
sessionView
.
updateTitle
(
title
:
title
)
sessionView
.
type
=
1
sessionView
.
tag
=
index
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/V/YHOtherPickerView.swift
View file @
5e5d8f72
...
...
@@ -9,32 +9,6 @@
import
UIKit
import
AttributedString
enum
YHOtherPickerViewType
:
Int
{
// 按自然顺序递增
case
none
=
0
// 语言能力
case
language
// 专业技能行业
case
professionalSkill
// 用人单位性质
case
nature
// 工作证明文件
case
certificate
// 行政架构层级
case
structure
// 职位水平类别
case
level
// 高管证明文件
case
prove
// 证件类别
case
idType
// 性别
case
sex
// 婚姻状况
case
marry
}
struct
YHOtherPickerViewItemData
{
let
title
:
String
let
subTitle
:
String
...
...
@@ -356,7 +330,7 @@ extension YHOtherPickerView {
//根据type 构建对应的数据源
switch
type
{
case
.
language
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrLanguage
let
arr
=
YH
ConstantArrayData
.
arrLanguage
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
item
[
"dec"
]
??
"-"
,
index
:
item
[
"id"
]
??
"-"
)
...
...
@@ -366,7 +340,7 @@ extension YHOtherPickerView {
return
case
.
professionalSkill
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrSkill
let
arr
=
YH
ConstantArrayData
.
arrSkill
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
item
[
"dec"
]
??
"-"
,
index
:
item
[
"value"
]
??
"-"
)
...
...
@@ -376,7 +350,7 @@ extension YHOtherPickerView {
return
case
.
nature
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrNature
let
arr
=
YH
ConstantArrayData
.
arrNature
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
@@ -384,7 +358,7 @@ extension YHOtherPickerView {
}
title
=
getTitle
(
type
:
type
)
case
.
certificate
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrCertificate
let
arr
=
YH
ConstantArrayData
.
arrCertificate
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
@@ -392,7 +366,7 @@ extension YHOtherPickerView {
}
title
=
getTitle
(
type
:
type
)
case
.
structure
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrStructure
let
arr
=
YH
ConstantArrayData
.
arrStructure
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
@@ -400,7 +374,7 @@ extension YHOtherPickerView {
}
title
=
getTitle
(
type
:
type
)
case
.
level
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrLevel
let
arr
=
YH
ConstantArrayData
.
arrLevel
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
@@ -408,7 +382,7 @@ extension YHOtherPickerView {
}
title
=
getTitle
(
type
:
type
)
case
.
prove
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrProve
let
arr
=
YH
ConstantArrayData
.
arrProve
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
@@ -416,7 +390,7 @@ extension YHOtherPickerView {
}
title
=
getTitle
(
type
:
type
)
case
.
idType
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrIdType
let
arr
=
YH
ConstantArrayData
.
arrIdType
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
@@ -424,7 +398,7 @@ extension YHOtherPickerView {
}
title
=
getTitle
(
type
:
type
)
case
.
sex
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrSex
let
arr
=
YH
ConstantArrayData
.
arrSex
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
@@ -432,7 +406,7 @@ extension YHOtherPickerView {
}
title
=
getTitle
(
type
:
type
)
case
.
marry
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrMarry
let
arr
=
YH
ConstantArrayData
.
arrMarry
arrData
.
removeAll
()
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/VM/YHOtherInfoFillViewModel.swift
View file @
5e5d8f72
...
...
@@ -10,312 +10,6 @@ import UIKit
class
YHOtherInfoFillViewModel
:
YHBaseViewModel
{
var
otherInfoFillData
:
YHOtherInfoFillModel
?
static
let
arrLanguage
:
[[
String
:
String
]]
=
[
[
"id"
:
"1"
,
"title"
:
"中文及英文"
,
"dec"
:
"国外大学(英语国家)毕业,英文授课,获得学位证。(如为中外联合办学,在中国上课的,不算)"
,
],
[
"id"
:
"2"
,
"title"
:
"中文及英文"
,
"dec"
:
" 有近两年的雅思或托福成绩单(雅思考试G类或A类总分达6分;托福笔试达550分,计算机达213分,网考达80分)"
,
],
[
"id"
:
"4"
,
"title"
:
"中文及另一种外语"
,
"dec"
:
"非英文的外语,如:法文、日文等(需提供相关证书)"
,
],
[
"id"
:
"5"
,
"title"
:
"仅中文"
,
"dec"
:
""
,
],
[
"id"
:
"6"
,
"title"
:
"仅英文"
,
"dec"
:
""
,
],
]
static
let
arrSkill
:
[[
String
:
String
]]
=
[
[
"title"
:
"学术研究及教育"
,
"dec"
:
"幼儿教育、高等教育、学术研究"
,
"val"
:
""
,
"value"
:
"1"
,
],
[
"title"
:
"建筑、测量、工程及建造"
,
"dec"
:
"园景设计、建筑、测量、土木/电机/机器/机构/环境工程"
,
"val"
:
""
,
"value"
:
"2"
,
],
[
"title"
:
"艺术及文化"
,
"dec"
:
"表演艺术、美术、博物馆、图书馆、摄影"
,
"val"
:
""
,
"value"
:
"3"
,
],
[
"title"
:
"广播及娱乐"
,
"dec"
:
"广播及节目制作、电影、录像及电视制作、唱片及音乐出版"
,
"val"
:
""
,
"value"
:
"4"
,
],
[
"title"
:
"业务支援及人力资源"
,
"dec"
:
"业务咨询顾问、公司秘书、行政支援、人事管理、招聘服务、公关关系服务、广告、信息服务"
,
"val"
:
""
,
"value"
:
"5"
,
],
[
"title"
:
"餐饮服务及旅游"
,
"dec"
:
"酒吧、餐厅、酒店、旅行代理"
,
"val"
:
""
,
"value"
:
"6"
,
],
[
"title"
:
"商业及贸易"
,
"dec"
:
"进出口、零售、批发"
,
"val"
:
""
,
"value"
:
"7"
,
],
[
"title"
:
"金融及会计服务"
,
"dec"
:
"会计、银行、保险、证券、投资银行"
,
"val"
:
""
,
"value"
:
"8"
,
],
[
"title"
:
"医疗保健及兽医服务"
,
"dec"
:
"西医药、中医药、牙科服务、医学科技、职业治疗、护理、兽医服务"
,
"val"
:
""
,
"value"
:
"9"
,
],
[
"title"
:
"资讯科技及电讯"
,
"dec"
:
"资讯科技顾问、固网及无线通信"
,
"val"
:
""
,
"value"
:
"10"
,
],
[
"title"
:
"法律服务"
,
"dec"
:
"法律事务"
,
"val"
:
""
,
"value"
:
"11"
,
],
[
"title"
:
"物流运输"
,
"dec"
:
"物流、空运、海运、陆运"
,
"val"
:
""
,
"value"
:
"12"
,
],
[
"title"
:
"工业制造"
,
"dec"
:
"电机、电子、食物及饮料、化工、金属、玩具、纺织、钟表、珠宝、印刷及出版"
,
"val"
:
""
,
"value"
:
"13"
,
],
[
"title"
:
"体育运动"
,
"dec"
:
"体育运动"
,
"val"
:
""
,
"value"
:
"14"
,
],
[
"title"
:
"其他"
,
"example"
:
""
,
"val"
:
""
,
"value"
:
"15"
,
"dec"
:
""
],
]
static
let
arrNature
:
[[
String
:
String
]]
=
[
[
"title"
:
"有限责任公司"
,
"id"
:
"有限责任公司"
],
[
"title"
:
"股份有限公司"
,
"id"
:
"股份有限公司"
],
[
"title"
:
"跨国有限责任公司"
,
"id"
:
"跨国有限责任公司"
],
[
"title"
:
"跨国股份有限公司"
,
"id"
:
"跨国股份有限公司"
],
[
"title"
:
"上市公司"
,
"id"
:
"上市公司"
],
[
"title"
:
"上市跨国公司"
,
"id"
:
"上市跨国公司"
],
[
"title"
:
"教育机构"
,
"id"
:
"教育机构"
],
[
"title"
:
"半公营企业"
,
"id"
:
"半公营企业"
],
[
"title"
:
"政府机构"
,
"id"
:
"政府机构"
],
[
"title"
:
"跨国合伙企业"
,
"id"
:
"跨国合伙企业"
],
[
"title"
:
"跨国个人独资企业"
,
"id"
:
"跨国个人独资企业"
],
[
"title"
:
"个人独资企业"
,
"id"
:
"个人独资企业"
],
[
"title"
:
"国家/政府间组织"
,
"id"
:
"国家/政府间组织"
],
[
"title"
:
"志愿/慈善/宗教团体"
,
"id"
:
"志愿/慈善/宗教团体"
],
[
"title"
:
"其他(请备注)"
,
"id"
:
"其他(请备注)"
]
]
static
let
arrCertificate
:
[[
String
:
String
]]
=
[
[
"id"
:
"盖章并签字的推荐信 (证明效果最强)"
,
"title"
:
"盖章并签字的推荐信 (证明效果最强)"
],
[
"id"
:
"签字的推荐信+盖章的工作证明"
,
"title"
:
"签字的推荐信+盖章的工作证明"
],
[
"id"
:
"仅有签字的推荐信"
,
"title"
:
"仅有签字的推荐信"
],
[
"id"
:
"仅有社保记录/劳动合同/工牌等"
,
"title"
:
"仅有社保记录/劳动合同/工牌等"
],
[
"id"
:
"仅提供声明书解释"
,
"title"
:
"仅提供声明书解释"
],
[
"id"
:
"仅有工作证明"
,
"title"
:
"仅有工作证明"
]
]
static
let
arrStructure
:
[[
String
:
String
]]
=
[
[
"title"
:
"组织架构最顶级"
,
"id"
:
"1"
],
[
"title"
:
"组织架构第二层级"
,
"id"
:
"2"
],
[
"title"
:
"组织架构第三层级"
,
"id"
:
"3"
],
[
"title"
:
"组织架构第四层级"
,
"id"
:
"4"
],
[
"title"
:
"以上都不是"
,
"id"
:
"5"
]
]
static
let
arrLevel
:
[[
String
:
String
]]
=
[
[
"title"
:
"高级经理人"
,
"id"
:
"1"
],
[
"title"
:
"中级经理人"
,
"id"
:
"2"
],
[
"title"
:
"初级经理人"
,
"id"
:
"3"
],
[
"title"
:
"专业人士"
,
"id"
:
"4"
],
[
"title"
:
"半专业人士"
,
"id"
:
"5"
],
[
"title"
:
"其他"
,
"id"
:
"6"
]
]
static
let
arrProve
:
[[
String
:
String
]]
=
[
[
"title"
:
"盖章且签字的组织架构图和审计报告"
,
"id"
:
"盖章且签字的组织架构图和审计报告"
]
]
static
let
arrIdType
:
[[
String
:
String
]]
=
[
[
"title"
:
"护照"
,
"id"
:
"3"
],
[
"title"
:
"外交护照"
,
"id"
:
"4"
],
[
"title"
:
"公务护照"
,
"id"
:
"5"
],
[
"title"
:
"中国发无国籍旅游证件"
,
"id"
:
"6"
],
[
"title"
:
"旅游通行证"
,
"id"
:
"7"
],
[
"title"
:
"联合国通行证"
,
"id"
:
"8"
],
[
"title"
:
"其他无国籍旅行证件"
,
"id"
:
"9"
],
[
"title"
:
"其他"
,
"id"
:
"10"
]
]
static
let
arrSex
:
[[
String
:
String
]]
=
[
[
"title"
:
"男"
,
"id"
:
"1"
],
[
"title"
:
"女"
,
"id"
:
"2"
]
]
static
let
arrMarry
:
[[
String
:
String
]]
=
[
[
"title"
:
"已婚"
,
"id"
:
"1"
],
[
"title"
:
"未婚"
,
"id"
:
"2"
],
[
"title"
:
"离婚"
,
"id"
:
"3"
],
[
"title"
:
"分居"
,
"id"
:
"4"
],
[
"title"
:
"丧偶"
,
"id"
:
"5"
]
]
}
extension
YHOtherInfoFillViewModel
{
...
...
@@ -384,7 +78,7 @@ extension YHOtherInfoFillViewModel {
if
let
language
=
self
.
otherInfoFillData
?
.
language_detail
{
if
language
.
level
>
0
{
let
target
=
String
(
language
.
level
)
for
(
_
,
item
)
in
YH
OtherInfoFillViewModel
.
arrLanguage
.
enumerated
()
{
for
(
_
,
item
)
in
YH
ConstantArrayData
.
arrLanguage
.
enumerated
()
{
if
target
==
item
[
"id"
]
{
language
.
levelDes
=
item
[
"title"
]
??
""
...
...
@@ -394,12 +88,10 @@ extension YHOtherInfoFillViewModel {
}
}
if
let
profession
=
self
.
otherInfoFillData
?
.
profession
{
if
profession
.
option
>
0
{
let
target
=
String
(
profession
.
option
)
for
(
_
,
item
)
in
YH
OtherInfoFillViewModel
.
arrSkill
.
enumerated
()
{
for
(
_
,
item
)
in
YH
ConstantArrayData
.
arrSkill
.
enumerated
()
{
if
target
==
item
[
"value"
]
{
profession
.
optionDes
=
item
[
"title"
]
??
""
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/M/YHMainInfoPreviewModel.swift
View file @
5e5d8f72
...
...
@@ -75,7 +75,7 @@ class YHCNIdentityCardPreviewModel: SmartCodable {
case
issueDateEndAt
=
"issue_date_end_at"
case
imgFront
=
"img_front"
case
imgBack
=
"img_back"
case
passport_type
=
"passport_type"
case
passport_type
=
"pass
_
port_type"
case
type
=
"type"
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
View file @
5e5d8f72
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
View file @
5e5d8f72
...
...
@@ -142,7 +142,7 @@ class YHWorkExperienceItemView: UIView {
button
.
setImage
(
UIImage
(
named
:
"main_time_normal"
),
for
:
.
normal
)
button
.
setImage
(
UIImage
(
named
:
"main_time_select"
),
for
:
.
selected
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitle
(
"
至今
"
,
for
:
.
normal
)
button
.
setTitle
(
"
长期
"
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
button
.
contentHorizontalAlignment
=
.
right
button
.
addTarget
(
self
,
action
:
#selector(
longTimeButtonClick
)
,
for
:
.
touchUpInside
)
...
...
@@ -162,7 +162,7 @@ class YHWorkExperienceItemView: UIView {
@objc
func
longTimeButtonClick
()
{
longTimeButton
.
isSelected
=
!
longTimeButton
.
isSelected
if
longTimeButton
.
isSelected
{
self
.
dataSource
?
.
message
=
"
至今
"
self
.
dataSource
?
.
message
=
"
长期
"
self
.
updateAllViews
()
if
let
block
=
self
.
block
{
block
(
self
.
dataSource
??
YHWorkExperienceModel
())
...
...
@@ -227,14 +227,14 @@ class YHWorkExperienceItemView: UIView {
case
.
certificate
:
break
case
.
structure
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrStructure
let
arr
=
YH
ConstantArrayData
.
arrStructure
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
}
}
case
.
level
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrLevel
let
arr
=
YH
ConstantArrayData
.
arrLevel
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
...
...
@@ -284,7 +284,7 @@ class YHWorkExperienceItemView: UIView {
if
dataSource
.
id
==
.
id10
||
dataSource
.
id
==
.
id22
{
longTimeButton
.
isHidden
=
false
nextStepImageView
.
isHidden
=
true
if
dataSource
.
message
==
"
至今
"
{
if
dataSource
.
message
==
"
长期
"
{
longTimeButton
.
isSelected
=
true
longTimeButton
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
messageTextField
.
snp
.
left
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
5e5d8f72
...
...
@@ -128,7 +128,8 @@ extension YHServiceCenterMainViewModel {
return
}
if
resultModel
.
fill_info_step
>=
6
{
if
resultModel
.
fill_info_step
>
6
{
//resultModel.fill_info_step == 7的时候表示 我的信息填写完成
let
model
=
YHContactMainItemStatusModel
()
model
.
type
=
1
model
.
isFinished
=
true
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
5e5d8f72
...
...
@@ -54,7 +54,7 @@ class YHAllApiName {
// 删除家庭成员信息
static
let
deleteFamilyMemberApi
=
"infoflow/family/delete"
// 提交家庭成员信息
static
let
submitAllFamilyInfoApi
=
"
/
infoflow/family/submit"
static
let
submitAllFamilyInfoApi
=
"infoflow/family/submit"
}
struct
Education
{
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
View file @
5e5d8f72
...
...
@@ -15,17 +15,18 @@ class YHBaseUrlManager {
// static let baseUrlTest : String = "https://test-private-sphere.galaxy-immi.com/"
// static let baseUrlTest : String = "https://test.api.gateway.galaxy-immi.com/"
// static let baseUrlTest : String = "https://test-api-gateway.galaxy-immi.com/" //智汇银河 - 微信小程序
//测试环境
static
let
baseUrlTest
:
String
=
"http://test.api.diymanager.galaxy-immi.com/"
//APP 使用域名
static
let
baseOOSUrlTest
:
String
=
"https://test-comserver.galaxy-immi.com/"
static
let
baseOOSUrlRelease
:
String
=
"http://comserver.galaxy-immi.com"
//APP 使用域名
//正式环境
static
let
baseUrlRelease
:
String
=
"http://test.api.diymanager.galaxy-immi.com/"
static
let
baseOSSUrlTest
:
String
=
"https://test-comserver.galaxy-immi.com/"
static
let
baseOSSUrlRelease
:
String
=
"https://test-comserver.galaxy-immi.com/"
// static let baseOSSUrlRelease : String = "http://comserver.galaxy-immi.com/" //正式环境
//h5开发环境
static
let
h5UrlDev
:
String
=
""
//h5正式环境
static
let
h5UrlRelease
:
String
=
""
...
...
@@ -45,9 +46,9 @@ class YHBaseUrlManager {
func
curOssURL
()
->
String
{
#if DEBUG
return
urlForEditing
??
YHBaseUrlManager
.
baseO
O
SUrlTest
return
urlForEditing
??
YHBaseUrlManager
.
baseO
S
SUrlTest
#else
return
YHBaseUrlManager
.
baseO
O
SUrlRelease
return
YHBaseUrlManager
.
baseO
S
SUrlRelease
#endif
}
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHConstantArrayData.swift
0 → 100644
View file @
5e5d8f72
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
View file @
5e5d8f72
...
...
@@ -102,7 +102,6 @@ class YHNetRequest: NSObject {
private
func
testToken
(
_
requestHeader
:
inout
HTTPHeaders
)
{
//金龙的账号
requestHeader
.
add
(
name
:
"token"
,
value
:
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTE2MDcwNjQsImkiOjE0NDg0MTczMjc0MjE2LCJ1Ijoi6ZO25rKz6ZuG5ZuiIiwiciI6InN1cGVyX2FwcCJ9.KwTWdaLy5UG4LLs6i-D9ne0RflRTT5v4zvu-66yihDE"
)
// requestHeader.add(name: "token", value:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTE3ODI1OTUsImkiOjEyNDMwMTA1MTY0OTA0LCJ1Ijoi6ZO25rKz6ZuG5ZuiIiwiciI6InN1cGVyX2FwcCJ9.jqWpIf3SmbetApdErmBIYh-YEhX1zF_WqgqgOq5oI2A")
}
/// 链式语法
...
...
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