From 4c871267abd8bbbe2eaf3713e472aa3768bf81c9 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 2 Jun 2019 21:31:13 +0800 Subject: [PATCH] test --- obj.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obj.go b/obj.go index 296cb4c..2e130b6 100644 --- a/obj.go +++ b/obj.go @@ -493,7 +493,7 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int) (int64 c.Code = code c.Name = name c.Weight = weight - cacheObjItem.Store(intl_id, *c) + cacheObjItem.Store(code, *c) cacheObjItem.Store(name, *c) return objId, nil