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
57074102
Commit
57074102
authored
Aug 29, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
方法私有免得后续调用到,以及增加注释
parent
d6528844
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
YHBaseViewModel.swift
galaxy/galaxy/Classes/Base/C/YHBaseViewModel.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Base/C/YHBaseViewModel.swift
View file @
57074102
...
...
@@ -186,7 +186,7 @@ class YHBaseViewModel {
}
// 获取公链URL
func
getCurrentPublicImageUrl
(
_
url
:
String
,
_
isPublic
:
Bool
=
false
,
callBackBlock
:
@escaping
(
_
success
:
String
?,
_
error
:
YHErrorModel
?)
->
Void
)
{
private
func
getCurrentPublicImageUrl
(
_
url
:
String
,
_
isPublic
:
Bool
=
false
,
callBackBlock
:
@escaping
(
_
success
:
String
?,
_
error
:
YHErrorModel
?)
->
Void
)
{
if
YHNetworkStatusManager
.
shared
.
isNetWorkOK
==
false
{
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"网络不可用,请检查网络设置"
)
...
...
@@ -206,7 +206,7 @@ class YHBaseViewModel {
}
}
// 获取公链URL
// 获取公链URL
,后续用getRealUsefulUrl,前期的调用默认中转到getRealUsefulUrl
func
getPublicImageUrl
(
_
url
:
String
,
_
isPublic
:
Bool
=
false
,
callBackBlock
:
@escaping
(
_
success
:
String
?,
_
error
:
YHErrorModel
?)
->
Void
)
{
getRealUsefulUrl
(
url
)
{
str
in
if
str
.
count
>
0
{
...
...
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