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
4b1b596d
Commit
4b1b596d
authored
Feb 27, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加日志 打印
parent
cd55137a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
YHInformationPerfectModel.swift
...ntelligentService(服务中心)/M/YHInformationPerfectModel.swift
+6
-6
YHPersonInfoFillStepModel.swift
...ntelligentService(服务中心)/M/YHPersonInfoFillStepModel.swift
+0
-1
YHOtherInfoFillViewController.swift
...erInformation(其他信息)/C/YHOtherInfoFillViewController.swift
+2
-0
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+1
-1
YHNetRequest.swift
galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
+6
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHInformationPerfectModel.swift
View file @
4b1b596d
...
@@ -17,23 +17,23 @@ class YHInformationPerfectModel {
...
@@ -17,23 +17,23 @@ class YHInformationPerfectModel {
isFirstCell
=
false
isFirstCell
=
false
isLastestCell
=
false
isLastestCell
=
false
if
type
==
1
{
if
type
==
0
{
isFirstCell
=
true
isFirstCell
=
true
name
=
"主申请人信息"
name
=
"主申请人信息"
icon
=
"zsqrxx_icon"
icon
=
"zsqrxx_icon"
}
else
if
type
==
2
{
}
else
if
type
==
1
{
name
=
"家庭成员信息"
name
=
"家庭成员信息"
icon
=
"jtcyxx_icon"
icon
=
"jtcyxx_icon"
}
else
if
type
==
3
{
}
else
if
type
==
2
{
name
=
"基本资料"
name
=
"基本资料"
icon
=
"jbzl_icon"
icon
=
"jbzl_icon"
}
else
if
type
==
4
{
}
else
if
type
==
3
{
name
=
"学历/专业资格"
name
=
"学历/专业资格"
icon
=
"xlzyzg_icon"
icon
=
"xlzyzg_icon"
}
else
if
type
==
5
{
}
else
if
type
==
4
{
name
=
"工作经验"
name
=
"工作经验"
icon
=
"gzjy_icon"
icon
=
"gzjy_icon"
}
else
if
type
==
6
{
}
else
if
type
==
5
{
name
=
"其他信息"
name
=
"其他信息"
icon
=
"qtxx_icon"
icon
=
"qtxx_icon"
isLastestCell
=
true
isLastestCell
=
true
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHPersonInfoFillStepModel.swift
View file @
4b1b596d
...
@@ -13,5 +13,4 @@ struct YHPersonInfoFillStepModel: SmartCodable {
...
@@ -13,5 +13,4 @@ struct YHPersonInfoFillStepModel: SmartCodable {
var
step
:
Int
=
0
var
step
:
Int
=
0
var
applicantName
:
String
=
""
var
applicantName
:
String
=
""
var
sweet_notify_status
:
Int
=
0
var
sweet_notify_status
:
Int
=
0
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/C/YHOtherInfoFillViewController.swift
View file @
4b1b596d
...
@@ -101,6 +101,8 @@ extension YHOtherInfoFillViewController {
...
@@ -101,6 +101,8 @@ extension YHOtherInfoFillViewController {
if
let
param
=
model
?
.
toDictionary
()
{
if
let
param
=
model
?
.
toDictionary
()
{
printLog
(
"param ==>"
)
printLog
(
param
)
printLog
(
param
)
otherInfoVM
.
saveOtherInfo
(
params
:
param
)
{
success
,
error
in
otherInfoVM
.
saveOtherInfo
(
params
:
param
)
{
success
,
error
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
4b1b596d
...
@@ -192,7 +192,7 @@ extension YHServiceCenterMainViewModel {
...
@@ -192,7 +192,7 @@ extension YHServiceCenterMainViewModel {
informationFillStepModel
=
resultModel
informationFillStepModel
=
resultModel
myInfoFillStep
=
resultModel
.
step
myInfoFillStep
=
resultModel
.
step
let
arr
=
[
1
,
2
,
3
,
4
,
5
,
6
]
let
arr
=
[
0
,
1
,
2
,
3
,
4
,
5
]
let
target
=
myInfoFillStep
let
target
=
myInfoFillStep
for
item
in
arr
{
for
item
in
arr
{
let
model
=
YHInformationPerfectModel
()
let
model
=
YHInformationPerfectModel
()
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
View file @
4b1b596d
...
@@ -94,7 +94,7 @@ class YHNetRequest: NSObject {
...
@@ -94,7 +94,7 @@ class YHNetRequest: NSObject {
requestHeader
.
add
(
name
:
"sign"
,
value
:
sign
)
requestHeader
.
add
(
name
:
"sign"
,
value
:
sign
)
requestHeader
.
add
(
name
:
"token"
,
value
:
YHLoginManager
.
shared
.
userModel
?
.
token
??
"-"
)
requestHeader
.
add
(
name
:
"token"
,
value
:
YHLoginManager
.
shared
.
userModel
?
.
token
??
"-"
)
//
testToken(&requestHeader) //for test hjl 使用固定token
testToken
(
&
requestHeader
)
//for test hjl 使用固定token
headers
=
requestHeader
headers
=
requestHeader
}
}
...
@@ -227,12 +227,16 @@ class YHNetRequest: NSObject {
...
@@ -227,12 +227,16 @@ class YHNetRequest: NSObject {
break
break
}
}
#if DEBUG
printLog
(
"网络返回的数据 ===> "
)
printLog
(
serverDict
)
#endif
if
statusCode
==
200
{
if
statusCode
==
200
{
guard
let
suclock
=
self
.
success
else
{
return
}
guard
let
suclock
=
self
.
success
else
{
return
}
let
dittt
=
self
.
handleJsonObjectNullValue
(
serverDict
)
let
dittt
=
self
.
handleJsonObjectNullValue
(
serverDict
)
suclock
(
dittt
as?
[
String
:
Any
]
??
[:],
statusCode
)
suclock
(
dittt
as?
[
String
:
Any
]
??
[:],
statusCode
)
// suclock(serverDict, statusCode)
// suclock(serverDict, statusCode)
}
else
{
}
else
{
guard
let
errorBlock
=
self
.
failure
else
{
return
}
guard
let
errorBlock
=
self
.
failure
else
{
return
}
...
...
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