fix service

This commit is contained in:
anlicheng 2026-04-17 15:32:49 +08:00
parent 16cb06f5d1
commit 5a2521424e
3 changed files with 3 additions and 5 deletions

View File

@ -6,9 +6,7 @@
// //
import Foundation import Foundation
extension SDLAPIClient { struct AuthService {
static func loginWithAccountAndPassword(username: String, password: String) async throws -> NetworkSession { static func loginWithAccountAndPassword(username: String, password: String) async throws -> NetworkSession {
var params: [String: Any] = [ var params: [String: Any] = [

View File

@ -6,7 +6,7 @@
// //
import Foundation import Foundation
extension SDLAPIClient { struct NetworkService {
static func connectNetwork(accesToken: String) async throws -> NetworkContext { static func connectNetwork(accesToken: String) async throws -> NetworkContext {
let params: [String: Any] = [ let params: [String: Any] = [

View File

@ -6,7 +6,7 @@
// //
import Foundation import Foundation
extension SDLAPIClient { struct AppService {
// //
static func appIssue(accessToken: String, contact: String, content: String) async throws -> String { static func appIssue(accessToken: String, contact: String, content: String) async throws -> String {