Log Detail

列表 / 同App / 同Level
UUID1c9541ca-b5a0-4f1c-ad96-c87737508170
Time2026-08-22 05:22:31.996
LevelERROR
Appcbg-item
Tagtest

Message

[weapon_value.go:20] stack:
goroutine 7189175 [running]:
runtime/debug.Stack()
	/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
cbg-item/internal/apps/value.(*HttpServer).GetWeaponValue.func1()
	/root/sources/cbg-item/internal/apps/value/weapon_value.go:20 +0x9a
panic({0x10867c0?, 0xc00332f860?})
	/usr/local/go/src/runtime/panic.go:785 +0x132
cbg-item/internal/apps/value/weapon.(*WeaponValue).getWeaponValueItemsFromTables(0xc004da0600, 0x119e6e0?, {0xc001502140, 0x130}, 0x5?, 0x0?)
	/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:179 +0x4a7
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetWeaponValueWithItems(0xc004da0600, 0xc003079200, 0x1, 0x1, 0x0)
	/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:138 +0x496
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetLocalTradeItems(0xc004da0600, 0x7fb820390cd8?)
	/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:60 +0x39
cbg-item/internal/apps/value/checkpoint.(*CheckPointLocalTrade).GetResult(0xc0039dc390, {0x1fca0b0, 0xc004da0600}, 0x0)
	/root/sources/cbg-item/internal/apps/value/checkpoint/checkpoint.go:20 +0x46
cbg-item/internal/apps/value/checkpoint.(*CheckSystem).GetResult(0xc002ba17a8, 0x0)
	/root/sources/cbg-item/internal/apps/value/checkpoint/checksystem.go:29 +0x79
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetWeaponValue(0xc004da0600)
	/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:249 +0x83b
cbg-item/internal/apps/value.(*HttpServer).GetWeaponValue(0x11cb185?, 0xc002e9e000)
	/root/sources/cbg-item/internal/apps/value/weapon_value.go:55 +0x30b
github.com/gin-gonic/gin.(*Context).Next(0xc002e9e000)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.Cors.func3(0xc002e9e000)
	/root/sources/cbg-item/internal/utils/cors.go:14 +0xa5
github.com/gin-gonic/gin.(*Context).Next(...)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc002e9e000)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f
github.com/gin-gonic/gin.(*Context).Next(0xc002e9e000)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.(*HttpServer).loggerMiddleware.func2(0xc002e9e000)
	/root/sources/cbg-item/internal/apps/value/http_server.go:308 +0xa9
github.com/gin-gonic/gin.(*Context).Next(...)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0004b3d40, 0xc002e9e000)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0004b3d40, {0x1fc14a8, 0xc00249e620}, 0xc004015900)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2
net/http.serverHandler.ServeHTTP({0x1fbe200?}, {0x1fc14a8?, 0xc00249e620?}, 0x6?)
	/usr/local/go/src/net/http/server.go:3210 +0x8e
net/http.(*conn).serve(0xc001fc9ef0, {0x1fc39e8, 0xc002f80d50})
	/usr/local/go/src/net/http/server.go:2092 +0x5d0
created by net/http.(*Server).Serve in goroutine 1
	/usr/local/go/src/net/http/server.go:3360 +0x485
点击上方链接可快速筛选同类日志。