使用设计模式优化发卡机
This commit is contained in:
@@ -20,7 +20,7 @@ func switchPoint(point int) leaf.HandlerFunc {
|
||||
return play.OnlyVideo
|
||||
case 4:
|
||||
// 4号点位(发卡机)
|
||||
return play.NewPushCard()
|
||||
return play.PushCard()
|
||||
default:
|
||||
return play.Default
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user