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
2e9ba661
Commit
2e9ba661
authored
Apr 19, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查 orderid是否有效
parent
dc8c04b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
YHHomeWebViewController.swift
.../Classes/Modules/Home(首页)/C/YHHomeWebViewController.swift
+13
-11
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeWebViewController.swift
View file @
2e9ba661
...
@@ -153,17 +153,19 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
...
@@ -153,17 +153,19 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
}
}
func
getData
()
{
func
getData
()
{
viewModel
.
getWebDetail
(
self
.
id
)
{[
weak
self
]
success
,
error
in
if
id
>
0
{
guard
let
self
=
self
else
{
return
}
viewModel
.
getWebDetail
(
self
.
id
)
{[
weak
self
]
success
,
error
in
if
success
{
guard
let
self
=
self
else
{
return
}
guard
let
model
=
self
.
viewModel
.
mainModel
else
{
return
}
if
success
{
bottomView
.
likeCount
=
model
.
like_count
guard
let
model
=
self
.
viewModel
.
mainModel
else
{
return
}
bottomView
.
starCount
=
model
.
collect_count
bottomView
.
likeCount
=
model
.
like_count
bottomView
.
isStar
=
model
.
is_collect
bottomView
.
starCount
=
model
.
collect_count
bottomView
.
isLike
=
model
.
is_like
bottomView
.
isStar
=
model
.
is_collect
bottomView
.
isLike
=
model
.
is_like
if
operationFlag
{
self
.
block
?(
model
)
if
operationFlag
{
self
.
block
?(
model
)
}
}
}
}
}
}
}
...
...
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