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
fffea899
Commit
fffea899
authored
Jun 25, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 人脉
parent
aaa0c110
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
YHMatchUserInfo.swift
...axy/Classes/Modules/Community(社区)/M/YHMatchUserInfo.swift
+11
-5
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/M/YHMatchUserInfo.swift
View file @
fffea899
...
@@ -51,7 +51,7 @@ class YHMatchUserAddress: SmartCodable {
...
@@ -51,7 +51,7 @@ class YHMatchUserAddress: SmartCodable {
class
YHAuthorizationModel
:
SmartCodable
{
class
YHAuthorizationModel
:
SmartCodable
{
var
educationExperience
:
Int
=
0
var
educationExperience
:
Int
=
0
var
workExperience
=
0
var
workExperience
:
Int
=
0
required
init
()
{
required
init
()
{
...
@@ -95,17 +95,18 @@ class YHUserNameCardInfo: SmartCodable {
...
@@ -95,17 +95,18 @@ class YHUserNameCardInfo: SmartCodable {
// 自定义属性
// 自定义属性
var
type
:
YHNameCardInfoType
=
.
unknown
var
type
:
YHNameCardInfoType
=
.
unknown
var
isCurrentUser
=
false
var
isHiddenEducation
:
Bool
{
var
isHiddenEducation
:
Bool
{
get
{
get
{
return
self
.
authorization
.
educationExperience
!
=
2
return
self
.
authorization
.
educationExperience
=
=
2
}
}
}
}
var
isHiddenWorkExperience
:
Bool
{
var
isHiddenWorkExperience
:
Bool
{
get
{
get
{
return
self
.
authorization
.
workExperience
!
=
2
return
self
.
authorization
.
workExperience
=
=
2
}
}
}
}
var
isCurrentUser
=
false
required
init
()
{
required
init
()
{
...
@@ -130,6 +131,8 @@ class YHUserNameCardInfo: SmartCodable {
...
@@ -130,6 +131,8 @@ class YHUserNameCardInfo: SmartCodable {
self
.
position
=
model
.
position
self
.
position
=
model
.
position
self
.
industry
=
model
.
industry
self
.
industry
=
model
.
industry
self
.
honor
=
model
.
honor
self
.
honor
=
model
.
honor
self
.
authorization
.
educationExperience
=
model
.
authorization
.
educationExperience
self
.
authorization
.
workExperience
=
model
.
authorization
.
workExperience
self
.
topics
.
removeAll
()
self
.
topics
.
removeAll
()
self
.
topics
.
append
(
contentsOf
:
model
.
topics
)
self
.
topics
.
append
(
contentsOf
:
model
.
topics
)
}
}
...
@@ -137,7 +140,10 @@ class YHUserNameCardInfo: SmartCodable {
...
@@ -137,7 +140,10 @@ class YHUserNameCardInfo: SmartCodable {
enum
CodingKeys
:
String
,
CodingKey
{
enum
CodingKeys
:
String
,
CodingKey
{
case
yhId
=
"yh_id"
case
yhId
=
"yh_id"
case
isSigned
=
"is_signed"
case
isSigned
=
"is_signed"
case
id
,
avatar
,
username
,
address
,
zodiac
,
signature
,
bio
,
college
,
major
,
background
,
authorization
,
position
,
industry
,
honor
,
topics
case
companyName
=
"company_name"
case
companyName
=
"company_name"
case
id
,
avatar
,
username
,
zodiac
,
signature
,
bio
,
college
,
major
,
background
,
position
,
industry
,
honor
case
topics
case
address
case
authorization
}
}
}
}
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