fix
This commit is contained in:
parent
5f1533c019
commit
fc81d12ca0
@ -46,9 +46,7 @@ struct API {
|
||||
|
||||
// 前后刷新获取数据
|
||||
static func loadMoreUpdateDramas<T: Codable>(userId: String, mode: LoadMode, id: Int, as: T.Type) async -> APIResponse<T> {
|
||||
// TODO
|
||||
let request = URLRequest(url: URL(string: baseUrl + "/api/load_more_dramas?user_id=\(userId)&mode=\(mode.rawValue)&id=8030")!)
|
||||
print(request)
|
||||
let request = URLRequest(url: URL(string: baseUrl + "/api/load_more_dramas?user_id=\(userId)&mode=\(mode.rawValue)&id=\(id)")!)
|
||||
|
||||
return await doRequest(request: request, as: T.self)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user