fix service
This commit is contained in:
parent
16cb06f5d1
commit
5a2521424e
@ -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] = [
|
||||||
@ -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] = [
|
||||||
@ -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 {
|
||||||
Loading…
x
Reference in New Issue
Block a user