Browse Source

新增领取奖励

zhengtao 9 tháng trước cách đây
mục cha
commit
6975df91bc

+ 1 - 0
game/config/data/discreteRuleConfig.json

@@ -9,3 +9,4 @@
 		{"ID":8,"Reward":[{"itemBaseType":1,"itemID":5,"amount":10000},{"itemBaseType":2,"itemID":6,"amount":10},{"itemBaseType":1,"itemID":1,"amount":10}],"Condition":""},
 		{"ID":9,"Reward":null,"Condition":"7"}	
 ]
+

+ 1 - 2
game/game_cluster/nodes/game/module/player/cashout.go

@@ -2,7 +2,6 @@ package player
 
 import (
 	"github.com/mhaya/game/game_cluster/internal/code"
-	"github.com/mhaya/game/game_cluster/internal/data"
 	"github.com/mhaya/game/game_cluster/internal/param"
 )
 
@@ -11,7 +10,7 @@ func (p *actorPlayer) cashout(req *param.CashOutReq) int32 {
 		return code.PlayerNotLogin
 	}
 
-	ret, ok := data.DiscreteRuleConfig.Get()
+	//	ret, ok := data.DiscreteRuleConfig.Get()
 
 	return code.OK
 }