|
|
@ -256,7 +256,7 @@ func (s *Service) Play(w http.ResponseWriter, r *http.Request) { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if err := s.CreateTransactionForPlayMethod(key, int(amount); err != nil { |
|
|
|
if err := s.CreateTransactionForPlayMethod(key, int(amount)); err != nil { |
|
|
|
utils.GetLogInstance().Error("puzzle-play, error", err) |
|
|
|
utils.GetLogInstance().Error("puzzle-play, error", err) |
|
|
|
json.NewEncoder(w).Encode(res) |
|
|
|
json.NewEncoder(w).Encode(res) |
|
|
|
return |
|
|
|
return |
|
|
|