로그인 페이지
This commit is contained in:
15
SodaLive/Sources/Common/ApiResponse.swift
Normal file
15
SodaLive/Sources/Common/ApiResponse.swift
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// ApiResponse.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/09.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
struct ApiResponse<T: Decodable>: Decodable {
|
||||
let success: Bool
|
||||
let data: T?
|
||||
let message: String?
|
||||
let errorProperty: String?
|
||||
}
|
Reference in New Issue
Block a user