command_redpoint.go 284 B

12345678910111213141516
  1. package client
  2. import (
  3. "encoding/json"
  4. "bet24.com/log"
  5. )
  6. func CheckRedPoint(userId int) Response {
  7. log.Debug("corclient.CheckRedPoint %d", userId)
  8. msg := "CheckRedPoint"
  9. var req Request_base
  10. req.UserId = userId
  11. d, _ := json.Marshal(req)
  12. return DoRequest(msg, string(d))
  13. }