add: cdr api package

This commit is contained in:
2024-01-19 15:18:26 +08:00
parent eaa857c5d1
commit ea64a6aa3f
3 changed files with 64 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ func PostKPIReportFromNF(w http.ResponseWriter, r *http.Request) {
log.Trace("Request body:", string(body))
kpiReport := new(KpiReport)
_ = json.Unmarshal(body, &kpiReport)
log.Debug("kpiReport:", kpiReport)
log.Trace("kpiReport:", kpiReport)
session := xEngine.NewSession()
defer session.Close()