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
d4131f6f
Commit
d4131f6f
authored
Apr 19, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
9209ab13
' into xiezhaolin
parents
cbad9f98
9209ab13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+3
-3
YHHomeWebViewController.swift
.../Classes/Modules/Home(首页)/C/YHHomeWebViewController.swift
+13
-11
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+1
-3
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
d4131f6f
...
...
@@ -2980,7 +2980,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
@@ -3181,7 +3181,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
@@ -3223,7 +3223,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeWebViewController.swift
View file @
d4131f6f
...
...
@@ -153,17 +153,19 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
}
func
getData
()
{
viewModel
.
getWebDetail
(
self
.
id
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
if
success
{
guard
let
model
=
self
.
viewModel
.
mainModel
else
{
return
}
bottomView
.
likeCount
=
model
.
like_count
bottomView
.
starCount
=
model
.
collect_count
bottomView
.
isStar
=
model
.
is_collect
bottomView
.
isLike
=
model
.
is_like
if
operationFlag
{
self
.
block
?(
model
)
if
id
>
0
{
viewModel
.
getWebDetail
(
self
.
id
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
if
success
{
guard
let
model
=
self
.
viewModel
.
mainModel
else
{
return
}
bottomView
.
likeCount
=
model
.
like_count
bottomView
.
starCount
=
model
.
collect_count
bottomView
.
isStar
=
model
.
is_collect
bottomView
.
isLike
=
model
.
is_like
if
operationFlag
{
self
.
block
?(
model
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
d4131f6f
...
...
@@ -257,7 +257,7 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
//待h5端同学提供
#if DEBUG
var
url
=
"https://test-hkdiy-h5.galaxy-immi.com/superApp/integral"
#elseif TEST
NE
V
#elseif TEST
EN
V
var
url
=
"https://test-hkdiy-h5.galaxy-immi.com/superApp/integral"
#else
var
url
=
"https://thkdiy-h5.galaxy-immi.com/superApp/integral"
...
...
@@ -267,8 +267,6 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
token
.
insert
(
contentsOf
:
addtionString
,
at
:
indexToInsert
)
url
=
url
+
"?param="
+
token
printLog
(
url
)
let
vc
=
YHHomeWebViewController
()
vc
.
vcTitle
=
"积分中心"
vc
.
url
=
url
...
...
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