| 123456789101112131415161718192021222324252627282930 |
- //
- // LNHttpManager+Report.swift
- // Lanu
- //
- // Created by OneeChan on 2025/12/31.
- //
- import Foundation
- private let kNetPath_Report_Report = "/report/user"
- private let kNetPath_Report_Feedback = "/feedback/submit"
- extension LNHttpManager {
- func reportUser(uid: String, content: String, photos: [String], completion: @escaping (LNHttpError?) -> Void) {
- post(path: kNetPath_Report_Report, params: [
- "userNo": uid,
- "content": content,
- "images": photos
- ], completion: completion)
- }
-
- func feedback(content: String, photos: [String], completion: @escaping (LNHttpError?) -> Void) {
- post(path: kNetPath_Report_Feedback, params: [
- "content": content,
- "images": photos
- ], completion: completion)
- }
- }
|