|
@@ -12,9 +12,10 @@ import (
|
|
"github.com/name5566/leaf/gate"
|
|
"github.com/name5566/leaf/gate"
|
|
)
|
|
)
|
|
|
|
|
|
-var list []*msg.ShopItem = make([]*msg.ShopItem, 0)
|
|
|
|
|
|
+var list []*msg.ShopItem = nil
|
|
|
|
|
|
func init() {
|
|
func init() {
|
|
|
|
+ list = make([]*msg.ShopItem, 0)
|
|
console.Log("注册BuyShopItem")
|
|
console.Log("注册BuyShopItem")
|
|
}
|
|
}
|
|
|
|
|