feat: 添加21点游戏
This commit is contained in:
13
handler/blackjack/controller/response.go
Normal file
13
handler/blackjack/controller/response.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package controller
|
||||
|
||||
type BackJackResponse struct {
|
||||
Code int
|
||||
Description string
|
||||
}
|
||||
|
||||
func NewBlackJackResponse(code int, description string) *BackJackResponse {
|
||||
return &BackJackResponse{
|
||||
Code: code,
|
||||
Description: description,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user