Log Detail

列表 / 同App / 同Level
UUID6ce591ea-c8cb-449b-a9a8-dcc84722acf5
Time2026-08-28 05:27:06.436
LevelERROR
Appcbg-item
Tagtest

Message

[weapon_value.go:20] stack:
goroutine 2050232 [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({0x1094e80?, 0xc00337f1d0?})
	/usr/local/go/src/runtime/panic.go:785 +0x132
cbg-item/internal/apps/value/weapon.(*WeaponValue).getWeaponValueItemsFromTables(0xc000bbcc00, 0x11ad8a1?, {0xc001450b00, 0x14c}, 0x5?, 0xc002fc5420?)
	/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:193 +0x4a7
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetWeaponValueWithItems(0xc000bbcc00, 0xc004082120, 0x1, 0x1, 0x0)
	/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:139 +0x4b5
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetLocalTradeItems(0xc000bbcc00, 0x10?)
	/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:61 +0x39
cbg-item/internal/apps/value/checkpoint.(*CheckPointLocalTrade).GetResult(0xc000d4c9a8, {0x1fdb1d0, 0xc000bbcc00}, 0x0)
	/root/sources/cbg-item/internal/apps/value/checkpoint/checkpoint.go:22 +0x46
cbg-item/internal/apps/value/checkpoint.(*CheckSystem).GetResult(0xc0043077a8, 0x0)
	/root/sources/cbg-item/internal/apps/value/checkpoint/checksystem.go:33 +0x10a
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetWeaponValue(0xc000bbcc00)
	/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:263 +0x83b
cbg-item/internal/apps/value.(*HttpServer).GetWeaponValue(0x11dab27?, 0xc0036a9500)
	/root/sources/cbg-item/internal/apps/value/weapon_value.go:55 +0x30b
github.com/gin-gonic/gin.(*Context).Next(0xc0036a9500)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.Cors.func3(0xc0036a9500)
	/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(0xc0036a9500)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f
github.com/gin-gonic/gin.(*Context).Next(0xc0036a9500)
	/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(0xc0036a9500)
	/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(0xc003256ea0, 0xc0036a9500)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc003256ea0, {0x1fd2718, 0xc004086000}, 0xc003f157c0)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2
net/http.serverHandler.ServeHTTP({0x1fcf340?}, {0x1fd2718?, 0xc004086000?}, 0x6?)
	/usr/local/go/src/net/http/server.go:3210 +0x8e
net/http.(*conn).serve(0xc0021241b0, {0x1fd4b08, 0xc003ba0900})
	/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
点击上方链接可快速筛选同类日志。