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
20f0862a
Commit
20f0862a
authored
Jul 22, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口名称替换
parent
9f99ab39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
YHHomePageViewModel.swift
...axy/Classes/Modules/Home(首页)/VM/YHHomePageViewModel.swift
+1
-1
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/VM/YHHomePageViewModel.swift
View file @
20f0862a
...
@@ -409,7 +409,7 @@ extension YHHomePageViewModel {
...
@@ -409,7 +409,7 @@ extension YHHomePageViewModel {
}
}
func
getHKEvent
(
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
func
getHKEvent
(
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Common
.
hklist
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Common
.
hklist
Api
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
)
{
[
weak
self
]
json
,
code
in
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
)
{
[
weak
self
]
json
,
code
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
//1. json字符串 转 对象
//1. json字符串 转 对象
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
20f0862a
...
@@ -63,7 +63,7 @@ class YHAllApiName {
...
@@ -63,7 +63,7 @@ class YHAllApiName {
//我的浏览
//我的浏览
static
let
userLook
=
"infoflow/user/view"
static
let
userLook
=
"infoflow/user/view"
//获取香港办事
//获取香港办事
static
let
hklist
=
"infoflow/tool/list"
static
let
hklist
Api
=
"infoflow/tool/list"
// 点赞、收藏、最近浏览数量
// 点赞、收藏、最近浏览数量
static
let
likeCollect
=
"infoflow/article/myArticleRecord"
static
let
likeCollect
=
"infoflow/article/myArticleRecord"
// 首页资讯栏目
// 首页资讯栏目
...
...
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