Commit 20f0862a authored by David黄金龙's avatar David黄金龙

接口名称替换

parent 9f99ab39
...@@ -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.hklistApi
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字符串 转 对象
......
...@@ -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 hklistApi = "infoflow/tool/list"
// 点赞、收藏、最近浏览数量 // 点赞、收藏、最近浏览数量
static let likeCollect = "infoflow/article/myArticleRecord" static let likeCollect = "infoflow/article/myArticleRecord"
// 首页资讯栏目 // 首页资讯栏目
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment