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
abd4f392
Commit
abd4f392
authored
Sep 06, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人 头像链接替换
parent
54458e9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
YHInformationAuthorizationStepOneViewController.swift
...)/C/YHInformationAuthorizationStepOneViewController.swift
+3
-1
YHUserInfoSettingViewController.swift
...Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
+4
-1
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHInformationAuthorizationStepOneViewController.swift
View file @
abd4f392
...
...
@@ -186,7 +186,9 @@ class YHInformationAuthorizationStepOneViewController: YHBaseViewController {
self
.
photoImageView
.
image
=
result
self
.
viewModel
.
uploadImage
(
result
,
true
)
{[
weak
self
]
success
,
error
in
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
)
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
View file @
abd4f392
...
...
@@ -164,7 +164,10 @@ class YHUserInfoSettingViewController: YHBaseViewController {
self
.
photoImageView
.
image
=
result
self
.
viewModel
.
uploadImage
(
result
,
true
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
headUrl
=
success
??
""
let
replacedString
=
(
success
??
""
)
.
getCdnUrl
()
print
(
replacedString
)
self
.
headUrl
=
replacedString
}
}
self
.
navigationController
?
.
pushViewController
(
clipperVC
,
animated
:
true
)
...
...
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