POST api/ClientApp/statistics/home

统计页面基础信息

Request Information

URI Parameters

None.

Body Parameters

BaseRequest
NameDescriptionTypeAdditional information
clientType

客户端类型,默认值:website

string

None.

clientVersion

客户端版本,默认值:1.0.0

string

None.

Request Formats

application/json, text/json

Sample:
{
  "clientType": "sample string 1",
  "clientVersion": "sample string 2"
}

Response Information

Resource Description

StatisticsHomeResponse
NameDescriptionTypeAdditional information
MyStatistics

我的

UserStatisticsInfo

None.

TeamStatistics

团队的(不含我自己的)

UserStatisticsInfo

None.

code

1 为成功,其他为失败

integer

None.

msg

请求描述

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MyStatistics": {
    "friend_user_count": 1,
    "total_deposit_amount": 2.0,
    "total_withdrawal_amount": 3.0,
    "total_payin_amount": 4.0,
    "total_payout_amount": 5.0,
    "total_comm_amount": 6.0
  },
  "TeamStatistics": {
    "friend_user_count": 1,
    "total_deposit_amount": 2.0,
    "total_withdrawal_amount": 3.0,
    "total_payin_amount": 4.0,
    "total_payout_amount": 5.0,
    "total_comm_amount": 6.0
  },
  "code": 1,
  "msg": "sample string 2"
}