fix: mux上下文工具ctx

This commit is contained in:
TsMask committed 2024-06-15 16:36:47 +08:00
1 parent f930f5bde2
commit 09b4dbb321
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ func LogMML(next http.Handler) http.Handler {
// 收尾存入数据库的参数
mmlCmd := bodyArgs["mml"].([]any)[0]
ipAddr := strings.Split(r.RemoteAddr, ":")[0]
neType := ctx.Param(r, "elementTypeValue")
neType := ctx.GetParam(r, "elementTypeValue")
neId := ctx.GetQuery(r, "ne_id")
timeStr := date.ParseDateToStr(time.Now(), date.YYYY_MM_DD_HH_MM_SS)