user_monthlycard.go 718 B

12345678910111213141516171819202122232425262728293031
  1. package gatesink
  2. import "bet24.com/servers/coreservice/client"
  3. //月卡系统信息
  4. func (this *user) monthlyCardSysInfo(msg, data string) {
  5. resp := client.MonthlyCardSysInfo()
  6. this.WriteMsg(msg, resp.Data)
  7. return
  8. }
  9. //获取用户月卡信息
  10. func (this *user) monthlyCardUserInfo(msg, data string) {
  11. resp := client.MonthlyCardUserInfo(this.getUserId())
  12. this.WriteMsg(msg, resp.Data)
  13. return
  14. }
  15. //月卡领取
  16. func (this *user) monthlyCardGift(msg, data string) {
  17. resp := client.MonthlyCardGift(this.getUserId())
  18. this.WriteMsg(msg, resp.Data)
  19. return
  20. }
  21. //周卡领取
  22. func (this *user) weekCardGift(msg, data string) {
  23. resp := client.WeekCardGift(this.getUserId())
  24. this.WriteMsg(msg, resp.Data)
  25. return
  26. }