//
//  LNHttpManager+Statistic.swift
//  Gami
//
//  Created by OneeChan on 2026/1/27.
//

import Foundation


private let kNetPath_Statistic_GameMate_Exposure = "/playmate/exposure/report"
private let kNetPath_Statistic_GameMate_Visitor = "/user/visitor/report"


extension LNHttpManager {
    func reportExposure(uids: [String], completion: @escaping (LNHttpError?) -> Void) {
        post(path: kNetPath_Statistic_GameMate_Exposure, params: [
            "list": uids
        ], completion: completion)
    }
    
    func reportVisitor(uid: String, completion: @escaping (LNHttpError?) -> Void) {
        post(path: kNetPath_Statistic_GameMate_Visitor, params: [
            "id": uid
        ], completion: completion)
    }
}
