POST api/ClientApp/profile/home_init
✅ Home/客户端初始化(获取初始化信息)
Request Information
URI Parameters
None.
Body Parameters
ClientInitRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| mobile |
用户手机号 |
string |
Required |
| clientType |
客户端类型,默认值:website |
string |
None. |
| clientVersion |
客户端版本,默认值:1.0.0 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"mobile": "sample string 1",
"clientType": "sample string 2",
"clientVersion": "sample string 3"
}
Response Information
Resource Description
返回验证码发送结果
ClientInitResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| greetText |
问候语 |
string |
None. |
| systemInfo |
系统信息 |
SystemInfo |
None. |
| userInfo |
用户信息 |
UserInfo |
None. |
| ratioInfo | RatioInfo |
None. |
|
| transactions |
首页交易记录 Top N |
Collection of Transaction |
None. |
| system_notes | SystemNoteHtml |
None. |
|
| customer_support | string |
None. |
|
| telegram_channel | string |
None. |
|
| code |
1 为成功,其他为失败 |
integer |
None. |
| msg |
请求描述 |
string |
None. |
| elapsed_time | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"greetText": "Good afternoon!",
"systemInfo": {
"currency_symbol": "sample string 1",
"available_balance_symbol": "sample string 2",
"deposit_symbol": "sample string 3",
"withdrawal_symbol": "sample string 4"
},
"userInfo": {
"UID": "sample string 1",
"nick_name": "sample string 2",
"avatar": "sample string 3",
"mobile": "sample string 4",
"email": "sample string 5",
"TG_id": "sample string 6",
"notice_badge": 7,
"available_balance": 8.0,
"today_received": 9.0,
"topup_bonus": 10.0,
"team_commission": 11.0,
"total_deposit": 12.0,
"total_withdraw": 13.0,
"parentUser": {
"nick_name": "sample string 1",
"avatar": "sample string 2",
"mobile": "sample string 3"
},
"share": {
"code": "sample string 1",
"link": "sample string 2",
"QRCode": "sample string 3"
},
"my_payin_comm": 14.1,
"my_payout_comm": 15.1,
"userTeam": {
"team_user_count": 1
}
},
"ratioInfo": {
"USDT_ratio": 1.0,
"bonus_ratio": 2.0
},
"transactions": [
{
"bank_id": 1,
"bank_name": "sample string 2",
"icon_link": "sample string 3"
},
{
"bank_id": 1,
"bank_name": "sample string 2",
"icon_link": "sample string 3"
}
],
"system_notes": {
"deposit_bottom_html": "sample string 1"
},
"customer_support": "sample string 1",
"telegram_channel": "sample string 2",
"code": 3,
"msg": "sample string 4",
"elapsed_time": 0.001
}