24 lines
518 B
Swift
24 lines
518 B
Swift
//
|
|
// SPWalletAPI.swift
|
|
// MoviaBox
|
|
//
|
|
// Created by 佳尔 on 2025/4/28.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class SPWalletAPI: NSObject {
|
|
|
|
///获取支付模版
|
|
static func requestPayTemplate(completer: ((_ model: SPPayTemplateModel?) -> Void)?) {
|
|
var param = SPNetworkParameters(path: "/paySettingsV3")
|
|
param.method = .get
|
|
|
|
SPNetwork.request(parameters: param) { (response: SPNetworkResponse<SPPayTemplateModel>) in
|
|
completer?(response.data)
|
|
}
|
|
|
|
}
|
|
|
|
}
|