VersionUpdate TimeStatusAuthorDescription

1.0

2024-4-10 10:30

update

author

1. 系統

1.1. 

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/quartz/ccmPrice'

1.2. 

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/quartz/dayPrice'

2. 產品購買相關業務

2.1. NFT產品列表

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: NFT產品列表

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─id

int32

No comments found.

-

└─name

string

名稱

-

└─price

number

支付方式1 價格 usdt

-

└─jhbPrice

number

支付方式2 JHB

-

└─tqbPrice

number

支付方式2 TQB

-

└─image

string

圖片

-

└─level

int32

星級

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "id": 0,
      "name": "",
      "price": 0,
      "jhbPrice": 0,
      "tqbPrice": 0,
      "image": "",
      "level": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getProduct'

2.2. 購買產品 先提交申請 1\檢測是否有資格購買產品 2

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 購買產品 先提交申請 1\檢測是否有資格購買產品 2

Query-parameters:

ParameterValueTypeRequiredDescription

googleCode

int32

false

如有開啟google 需要提交googleCode

address

string

false

當前地址

productId

int32

false

當前產品

payType

int32

false

支付類型 0 usdt 1 JHB 80%+TQB 20%

receiveSymbolId

int32

false

簽到獲得幣種 JHB = 2; CCM = 4;

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

int64

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": 0
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/applyOrder' --data 'googleCode=0&address=""&productId=0&payType=0&receiveSymbolId=0'

2.3. 支付成功後.提交單據id+支付hash

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 支付成功後.提交單據id+支付hash

Query-parameters:

ParameterValueTypeRequiredDescription

orderId

int64

false

第一步 支付前提交單id

txHash

string

false

支付HASH

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

boolean

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": true
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/payOrder' --data 'orderId=0&txHash=""'

2.4. 我當前NFT

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 我當前NFT

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─txHash

string

No comments found.

-

└─address

string

No comments found.

-

└─orderId

int64

No comments found.

-

└─level

int32

No comments found.

-

└─ctime

string

No comments found.

-

└─admissionPrice

number

入場價格

-

└─moneyBackOut

number

回本出局

-

└─staticOut

number

4拆 靜態出局

-

└─dynamicOut

number

3倍 動態出局

-

└─ccrAmount

number

ccr總額

-

└─ccexAmount

number

ccex總額

-

└─ccexPrice

number

ccex單價

-

└─status

int32

1 當前NFT 0 其他

-

└─signinStatus

int32

status=1 時 0 可簽到 1 不可以簽到 status =0 時 不可以簽到

-

└─moneyBackStatus

int32

0 不顯示 1顯示 回本出局 moneyBackOut

-

└─payStatus

int32

0 時支付確認中 1已支付

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "txHash": "",
    "address": "",
    "orderId": 0,
    "level": 0,
    "ctime": "yyyy-MM-dd HH:mm:ss",
    "admissionPrice": 0,
    "moneyBackOut": 0,
    "staticOut": 0,
    "dynamicOut": 0,
    "ccrAmount": 0,
    "ccexAmount": 0,
    "ccexPrice": 0,
    "status": 0,
    "signinStatus": 0,
    "moneyBackStatus": 0,
    "payStatus": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/currentOrderNft'

2.5. NFT purchase record

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: NFT purchase record

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─txHash

string

No comments found.

-

└─address

string

No comments found.

-

└─orderId

int64

No comments found.

-

└─level

int32

No comments found.

-

└─ctime

string

No comments found.

-

└─admissionPrice

number

入場價格

-

└─moneyBackOut

number

回本出局

-

└─staticOut

number

4拆 靜態出局

-

└─dynamicOut

number

3倍 動態出局

-

└─ccrAmount

number

ccr總額

-

└─ccexAmount

number

ccex總額

-

└─ccexPrice

number

ccex單價

-

└─status

int32

1 當前NFT 0 其他

-

└─signinStatus

int32

status=1 時 0 可簽到 1 不可以簽到 status =0 時 不可以簽到

-

└─moneyBackStatus

int32

0 不顯示 1顯示 回本出局 moneyBackOut

-

└─payStatus

int32

0 時支付確認中 1已支付

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "txHash": "",
      "address": "",
      "orderId": 0,
      "level": 0,
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "admissionPrice": 0,
      "moneyBackOut": 0,
      "staticOut": 0,
      "dynamicOut": 0,
      "ccrAmount": 0,
      "ccexAmount": 0,
      "ccexPrice": 0,
      "status": 0,
      "signinStatus": 0,
      "moneyBackStatus": 0,
      "payStatus": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/orderNftList'

2.6. 按產品id獲取NFT明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 按產品id獲取NFT明細

Query-parameters:

ParameterValueTypeRequiredDescription

orderId

int64

false

No comments found.

Request-body:

&"0"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─txHash

string

No comments found.

-

└─address

string

No comments found.

-

└─orderId

int64

No comments found.

-

└─level

int32

No comments found.

-

└─ctime

string

No comments found.

-

└─admissionPrice

number

入場價格

-

└─moneyBackOut

number

回本出局

-

└─staticOut

number

4拆 靜態出局

-

└─dynamicOut

number

3倍 動態出局

-

└─ccrAmount

number

ccr總額

-

└─ccexAmount

number

ccex總額

-

└─ccexPrice

number

ccex單價

-

└─status

int32

1 當前NFT 0 其他

-

└─signinStatus

int32

status=1 時 0 可簽到 1 不可以簽到 status =0 時 不可以簽到

-

└─moneyBackStatus

int32

0 不顯示 1顯示 回本出局 moneyBackOut

-

└─payStatus

int32

0 時支付確認中 1已支付

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "txHash": "",
    "address": "",
    "orderId": 0,
    "level": 0,
    "ctime": "yyyy-MM-dd HH:mm:ss",
    "admissionPrice": 0,
    "moneyBackOut": 0,
    "staticOut": 0,
    "dynamicOut": 0,
    "ccrAmount": 0,
    "ccexAmount": 0,
    "ccexPrice": 0,
    "status": 0,
    "signinStatus": 0,
    "moneyBackStatus": 0,
    "payStatus": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getOrderNftInfo' --data 'orderId="0"'

2.7. 獲取 orderId 對應資產收益明累

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取 orderId 對應資產收益明累

Query-parameters:

ParameterValueTypeRequiredDescription

orderId

int64

false

No comments found.

current

int64

false

第幾頁

size

int64

false

一次多少條記錄

Request-body:

&"0"&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─ctime

string

時間

-

└─type

string

類型

-

└─assets

string

資產名稱

-

└─income

number

收益數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "type": "",
      "assets": "",
      "income": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getOrderNftAssetList' --data 'orderId="0"¤t="1"&size="10"'

2.8. 出售Ccr之前 獲取信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 出售Ccr之前 獲取信息

Query-parameters:

ParameterValueTypeRequiredDescription

orderId

int64

false

No comments found.

Request-body:

&"0"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─orderId

int64

No comments found.

-

└─level

int32

No comments found.

-

└─ctime

string

No comments found.

-

└─ccrAmount

number

ccr總額

-

└─ccrPrice

number

ccr 當前價格

-

└─sellCcrRate

number

賣CCR 滑點 10%

-

└─ccrAvailable

number

可賣ccr數量

-

└─sellMin

number

最小出售數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "orderId": 0,
    "level": 0,
    "ctime": "yyyy-MM-dd HH:mm:ss",
    "ccrAmount": 0,
    "ccrPrice": 0,
    "sellCcrRate": 0,
    "ccrAvailable": 0,
    "sellMin": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getOrderNftSellCcr' --data 'orderId="0"'

2.9. 購買ccr 之前獲取

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 購買ccr 之前獲取

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─ccrAvailable

number

可買ccr數量

-

└─ccrPrice

number

ccr 當前價格

-

└─buyCcrRate

number

買CCR 滑點 20%

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "ccrAvailable": 0,
    "ccrPrice": 0,
    "buyCcrRate": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getOrderNftBuyCcr'

2.10. 出售Ccr之前 獲取信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 出售Ccr之前 獲取信息

Query-parameters:

ParameterValueTypeRequiredDescription

orderId

int64

false

No comments found.

Request-body:

&"0"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─orderId

int64

No comments found.

-

└─level

int32

No comments found.

-

└─ctime

string

No comments found.

-

└─ccexAmount

number

ccr總額

-

└─ccexPrice

number

ccr 當前價格

-

└─ccexAvailable

number

可賣ccex數量

-

└─sellCcexJhb

number

CCEX手工賣出時,按照65%變為JHB

-

└─sellCcexDestruction

number

CCEX手工賣出時 5%銷毀

-

└─sellCcexReinvestment

number

CCEX手工賣出時 30%復投凍結

-

└─sellMin

number

最小出售數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "orderId": 0,
    "level": 0,
    "ctime": "yyyy-MM-dd HH:mm:ss",
    "ccexAmount": 0,
    "ccexPrice": 0,
    "ccexAvailable": 0,
    "sellCcexJhb": 0,
    "sellCcexDestruction": 0,
    "sellCcexReinvestment": 0,
    "sellMin": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getOrderNftSellCcex' --data 'orderId="0"'

2.11. 購買CCR先提交檢測是否有額度購買

Type: POST

Content-Type: application/json

Description: 購買CCR先提交檢測是否有額度購買

Body-parameters:

ParameterTypeRequiredDescription

googleCode

int32

false

如有開啟google 需要提交googleCode

volume

number

false

購買數量

address

string

false

地址

Request-body:

{
  "googleCode": 0,
  "volume": 0,
  "address": ""
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -i 'http://61.244.248.118:9999/business/order/applyCcrOrderBuy' --data '{
  "googleCode": 0,
  "volume": 0,
  "address": ""
}'

2.12. 出售CCR

Type: POST

Content-Type: application/json

Description: 出售CCR

Body-parameters:

ParameterTypeRequiredDescription

makeType

int32

false

保留字段 不需要提交 0 用戶手動賣出

type

int32

false

保留字段 不需要提交 1 單據 2 賬戶中ccr

googleCode

int32

false

如有開啟google 需要提交googleCode

orderId

int64

false

type=1 時 提交對應orderId 出售賬戶中時 -1

volume

number

false

数量

Request-body:

{
  "makeType": 0,
  "type": 0,
  "googleCode": 0,
  "orderId": 0,
  "volume": 0
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -i 'http://61.244.248.118:9999/business/order/ccrOrderSell' --data '{
  "makeType": 0,
  "type": 0,
  "googleCode": 0,
  "orderId": 0,
  "volume": 0
}'

2.13. 出售CCex

Type: POST

Content-Type: application/json

Description: 出售CCex

Body-parameters:

ParameterTypeRequiredDescription

googleCode

int32

false

如有開啟google 需要提交googleCode

orderId

int64

false

單據id

volume

number

false

数量

Request-body:

{
  "googleCode": 0,
  "orderId": 0,
  "volume": 0
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -i 'http://61.244.248.118:9999/business/order/ccexOrderSell' --data '{
  "googleCode": 0,
  "orderId": 0,
  "volume": 0
}'

2.14. 獲取用戶可發送提現資產

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取用戶可發送提現資產

Query-parameters:

ParameterValueTypeRequiredDescription

symbolId

int32

false

產品id JHB=2 CCM=4 TQB=5

Request-body:

&"0"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─symboId

int32

產品id

-

└─amount

number

數量

-

└─amountLock

number

不可提现

-

└─usdt

number

約等於 usdt

-

└─price

number

價格

-

└─withdrawRate

number

提現手續費

-

└─withdrawMin

number

最小提現額

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "symboId": 0,
    "amount": 0,
    "amountLock": 0,
    "usdt": 0,
    "price": 0,
    "withdrawRate": 0,
    "withdrawMin": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getUserAsset' --data 'symbolId="0"'

2.15. 發送 JHB TQB CCM

Type: POST

Content-Type: application/json

Description: 發送 JHB TQB CCM

Body-parameters:

ParameterTypeRequiredDescription

googleCode

int32

false

如有開啟google 需要提交googleCode

address

string

false

發送 JHB TQB CCM 時需要填寫 ,提現時不需要填寫 接收地址

symbolId

int32

false

產品id JHB=2 CCM=4 TQB=5

amount

number

false

No comments found.

Request-body:

{
  "googleCode": 0,
  "address": "",
  "symbolId": 0,
  "amount": 0
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -i 'http://61.244.248.118:9999/business/order/sendAsset' --data '{
  "googleCode": 0,
  "address": "",
  "symbolId": 0,
  "amount": 0
}'

2.16. 提現 JHB TQB CCM

Type: POST

Content-Type: application/json

Description: 提現 JHB TQB CCM

Body-parameters:

ParameterTypeRequiredDescription

googleCode

int32

false

如有開啟google 需要提交googleCode

address

string

false

發送 JHB TQB CCM 時需要填寫 ,提現時不需要填寫 接收地址

symbolId

int32

false

產品id JHB=2 CCM=4 TQB=5

amount

number

false

No comments found.

Request-body:

{
  "googleCode": 0,
  "address": "",
  "symbolId": 0,
  "amount": 0
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -i 'http://61.244.248.118:9999/business/order/withdrawAsset' --data '{
  "googleCode": 0,
  "address": "",
  "symbolId": 0,
  "amount": 0
}'

2.17. 簽到

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 簽到

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/signin'

2.18. 獲取ccr價格

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取ccr價格

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

number

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": 0
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getCcrPrice'

2.19. 獲取ccex價格

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取ccex價格

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

number

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": 0
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getCcexPrice'

2.20. 獲取ccr價格

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取ccr價格

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

number

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": 0
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getCcmPrice'

2.21. 资产下单时 获取可用余额

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 资产下单时 获取可用余额

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─jhb

number

可用jhb

-

└─tqb

number

可用tqb

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "jhb": 0,
    "tqb": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/order/getUserAssetsOrder'

3. 賬戶資產

3.1. 獲取用戶資產與資產明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取用戶資產與資產明細

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─balance

number

總餘額

-

└─userAssetsList

array

餘額列表

-

     └─symbolId

int32

-

     └─name

string

名稱

-

     └─volume

number

數量

-

     └─usdt

number

約等於 usdt數量(2位小數向下取整)

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "balance": 0,
    "userAssetsList": [
      {
        "symbolId": 0,
        "name": "",
        "volume": 0,
        "usdt": 0
      }
    ]
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/userAssets/getUserTotalAssets'

3.2. 獲取用戶Ccex資產與資產明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取用戶Ccex資產與資產明細

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─balance

number

總餘額

-

└─usdt

number

約等於 usdt

-

└─details

array

餘額列表

-

     └─orderId

int64

單號

-

     └─level

int32

星級 1=1星

-

     └─volume

number

數量

-

     └─sell

int32

1 允許銷售 0不允許銷售

-

     └─buy

int32

1允許買 0不允許買

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "balance": 0,
    "usdt": 0,
    "details": [
      {
        "orderId": 0,
        "level": 0,
        "volume": 0,
        "sell": 0,
        "buy": 0
      }
    ]
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/userAssets/getUserCcexAssets'

3.3. ccex 單據明細資料

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: ccex 單據明細資料

Query-parameters:

ParameterValueTypeRequiredDescription

orderId

int64

false

No comments found.

current

int64

false

No comments found.

size

int64

false

No comments found.

Request-body:

&"0"&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─ctime

string

時間

-

└─type

string

類型

-

└─assets

string

資產名稱

-

└─income

number

收益數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "type": "",
      "assets": "",
      "income": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/userAssets/getUserCcexAssetsDetails' --data 'orderId="0"¤t="1"&size="10"'

3.4. 獲取用戶Ccr資產與資產明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取用戶Ccr資產與資產明細

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─balance

number

總餘額

-

└─usdt

number

約等於 usdt

-

└─details

array

餘額列表

-

     └─orderId

int64

單號 -1 為主動購買ccr

-

     └─level

int32

星級 1=1星

-

     └─volume

number

CCR數量

-

     └─sell

int32

1 允許銷售 0不允許銷售

-

     └─buy

int32

1允許買 0不允許買

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "balance": 0,
    "usdt": 0,
    "details": [
      {
        "orderId": 0,
        "level": 0,
        "volume": 0,
        "sell": 0,
        "buy": 0
      }
    ]
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/userAssets/getUserCcrAssets'

3.5. ccr 單據明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: ccr 單據明細

Query-parameters:

ParameterValueTypeRequiredDescription

orderId

int64

false

>0 為單據 -1 為自己購買

current

int64

false

No comments found.

size

int64

false

No comments found.

Request-body:

&"0"&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─ctime

string

時間

-

└─type

string

類型

-

└─assets

string

資產名稱

-

└─income

number

收益數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "type": "",
      "assets": "",
      "income": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/userAssets/getUserCcrAssetsDetails' --data 'orderId="0"¤t="1"&size="10"'

3.6. 獲取 其他幣種明細資料

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取 其他幣種明細資料

Query-parameters:

ParameterValueTypeRequiredDescription

symbolId

int32

false

產品id JHB=2 CCM=4 TQB=5

current

int64

false

No comments found.

size

int64

false

No comments found.

Request-body:

&"0"&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─ctime

string

時間

-

└─type

string

類型

-

└─assets

string

資產名稱

-

└─volume

number

數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "type": "",
      "assets": "",
      "volume": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/userAssets/getUserOtherAssetsDetails' --data 'symbolId="0"¤t="1"&size="10"'

3.7. 获取签到记录

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 获取签到记录

Query-parameters:

ParameterValueTypeRequiredDescription

current

int64

false

No comments found.

size

int64

false

No comments found.

Request-body:

&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─ctime

string

時間

-

└─type

string

類型

-

└─assets

string

資產名稱

-

└─income

number

收益數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "type": "",
      "assets": "",
      "income": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/userAssets/getUserSigninLogs' --data 'current="1"&size="10"'

4. 賬戶收益

4.1. 獲取用戶總收益

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取用戶總收益

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─total

number

收益匯總

-

└─product

number

產品收益

-

└─invite

number

邀請收益

-

└─team

number

團隊收益

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "total": 0,
    "product": 0,
    "invite": 0,
    "team": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/account/getTotalIncome'

4.2. 產品收益分類明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 產品收益分類明細

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─name

string

名稱

-

└─volume

number

數量

-

└─usdt

number

約等於 usdt數量(2位小數向下取整)

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "name": "",
      "volume": 0,
      "usdt": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/account/incomeList'

4.3. 邀請收益信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 邀請收益信息

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─directInvitation

int32

直接邀請人數

-

└─indirectInvitation

int32

間接邀請人數

-

└─invitations

array

邀請收益分類統計

-

     └─name

string

名稱

-

     └─volume

number

數量

-

     └─usdt

number

約等於 usdt數量(2位小數向下取整)

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "directInvitation": 0,
    "indirectInvitation": 0,
    "invitations": [
      {
        "name": "",
        "volume": 0,
        "usdt": 0
      }
    ]
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/account/invitationIncome'

4.4. 團隊收益信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 團隊收益信息

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─level

int32

等級 1=v1 2=v2 ...6=v6

-

└─teamSize

int32

團隊總數

-

└─left

number

左區業績

-

└─right

number

右區業績

-

└─invitations

array

團隊收益分類統計

-

     └─name

string

名稱

-

     └─volume

number

數量

-

     └─usdt

number

約等於 usdt數量(2位小數向下取整)

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "level": 0,
    "teamSize": 0,
    "left": 0,
    "right": 0,
    "invitations": [
      {
        "name": "",
        "volume": 0,
        "usdt": 0
      }
    ]
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/account/teamIncome'

4.5. 分頁獲取產品收益明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 分頁獲取產品收益明細

Query-parameters:

ParameterValueTypeRequiredDescription

current

int64

false

當前頁 1

size

int64

false

一頁多少條記錄 10

Request-body:

&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─ctime

string

時間

-

└─type

string

類型

-

└─assets

string

資產名稱

-

└─income

number

收益數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "type": "",
      "assets": "",
      "income": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/account/productIncomeList' --data 'current="1"&size="10"'

4.6. 分頁獲取產品收益明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 分頁獲取產品收益明細

Query-parameters:

ParameterValueTypeRequiredDescription

current

int64

false

當前頁 1

size

int64

false

一頁多少條記錄 10

Request-body:

&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─ctime

string

時間

-

└─address

string

用戶

-

└─type

string

類型

-

└─productLevel

int32

產品所屬星級 1= 1星 2=2星 ... 6星

-

└─assets

string

資產名稱

-

└─income

number

收益數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "address": "",
      "type": "",
      "productLevel": 0,
      "assets": "",
      "income": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/account/invitationIncomeList' --data 'current="1"&size="10"'

4.7. 分頁獲取團隊收益明細

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 分頁獲取團隊收益明細

Query-parameters:

ParameterValueTypeRequiredDescription

current

int64

false

當前頁 1

size

int64

false

一頁多少條記錄 10

Request-body:

&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─ctime

string

時間

-

└─address

string

用戶

-

└─type

string

類型

-

└─productLevel

int32

產品所屬星級 1= 1星 2=2星 ... 6星

-

└─assets

string

資產名稱

-

└─income

number

收益數量

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "ctime": "yyyy-MM-dd HH:mm:ss",
      "address": "",
      "type": "",
      "productLevel": 0,
      "assets": "",
      "income": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/account/teamIncomeList' --data 'current="1"&size="10"'

5. 系統

5.1. 輪播圖

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 輪播圖

Query-parameters:

ParameterValueTypeRequiredDescription

current

int64

false

第幾頁

size

int64

false

多少條數

Request-body:

&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─id

int32

No comments found.

-

└─title

string

標題

-

└─image

string

圖片

-

└─createTime

string

No comments found.

-

└─status

int32

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "id": 0,
      "title": "",
      "image": "",
      "createTime": "yyyy-MM-dd HH:mm:ss",
      "status": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/sys/bannerList' --data 'current="1"&size="10"'

5.2. 公告列表

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 公告列表

Query-parameters:

ParameterValueTypeRequiredDescription

current

int64

false

第幾頁

size

int64

false

多少條數

Request-body:

&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─id

int32

No comments found.

-

└─title

string

No comments found.

-

└─content

string

No comments found.

-

└─status

int32

No comments found.

-

└─lang

string

No comments found.

-

└─createTime

string

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "id": 0,
      "title": "",
      "content": "",
      "status": 0,
      "lang": "",
      "createTime": "yyyy-MM-dd HH:mm:ss"
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/sys/noticeList' --data 'current="1"&size="10"'

5.3. 通過id獲取公告內容

Type: GET

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 通過id獲取公告內容

Query-parameters:

ParameterValueTypeRequiredDescription

noticeId

int32

true

No comments found.

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X GET -i 'http://61.244.248.118:9999/business/sys/getNotice?noticeId=0' --data '&0'

5.4. ccr 價格走勢

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: ccr 價格走勢

Query-parameters:

ParameterValueTypeRequiredDescription

current

int64

false

No comments found.

size

int64

false

No comments found.

Request-body:

&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─id

int32

No comments found.

-

└─cdate

string

日期

-

└─price

number

價格

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "id": 0,
      "cdate": "yyyy-MM-dd",
      "price": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/sys/ccrPriceList' --data 'current="1"&size="10"'

5.5. ccex 價值

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: ccex 價值

Query-parameters:

ParameterValueTypeRequiredDescription

current

int64

false

No comments found.

size

int64

false

No comments found.

Request-body:

&"1"&"10"

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─id

int32

No comments found.

-

└─cdate

string

日期

-

└─price

number

價格

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "id": 0,
      "cdate": "yyyy-MM-dd",
      "price": 0
    }
  ]
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/sys/ccexPriceList' --data 'current="1"&size="10"'

6. 用戶

6.1. 檢查是否註冊過

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 檢查是否註冊過

Query-parameters:

ParameterValueTypeRequiredDescription

address

string

true

No comments found.

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/isReg' --data 'address='

6.2. 獲取一個登錄簽名串

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取一個登錄簽名串

Query-parameters:

ParameterValueTypeRequiredDescription

address

string

true

No comments found.

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/getAuthCode' --data 'address='

6.3. 用簽名串簽名後登錄

Type: POST

Content-Type: application/json

Description: 用簽名串簽名後登錄

Body-parameters:

ParameterTypeRequiredDescription

address

string

false

用户地址

code

string

false

getAuthCode 的字符签名串

pcode

string

false

上級推荐码 注册必填 例:882220

treecode

string

false

左区右区推荐码 注册必填 例:882220

type

int32

false

放在左區還是右區 注册必填 0 左區 1右區

Request-body:

{
  "address": "",
  "code": "",
  "pcode": "",
  "treecode": "",
  "type": 0
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {}
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -i 'http://61.244.248.118:9999/business/user/loginByAuthCode' --data '{
  "address": "",
  "code": "",
  "pcode": "",
  "treecode": "",
  "type": 0
}'

6.4. 用簽名串簽名後註冊

Type: POST

Content-Type: application/json

Description: 用簽名串簽名後註冊

Body-parameters:

ParameterTypeRequiredDescription

address

string

false

用户地址

code

string

false

getAuthCode 的字符签名串

pcode

string

false

上級推荐码 注册必填 例:882220

treecode

string

false

左区右区推荐码 注册必填 例:882220

type

int32

false

放在左區還是右區 注册必填 0 左區 1右區

Request-body:

{
  "address": "",
  "code": "",
  "pcode": "",
  "treecode": "",
  "type": 0
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─accessToken

string

No comments found.

-

└─refreshToken

string

No comments found.

-

└─userId

string

No comments found.

-

└─level

int32

用戶等級 0 0級 1 1級 ... 6 6級

-

└─teamLevel

int32

團隊等級 0無 ,1 v1, 2 v2

-

└─inviteCode

string

邀請碼

-

└─treeCode

string

左區 右區碼

-

└─treeType

int32

0 左區 1 右區

-

└─securityStatus

int32

0 未開啟 google 驗證碼 1已開啟

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "accessToken": "",
    "refreshToken": "",
    "userId": "",
    "level": 0,
    "teamLevel": 0,
    "inviteCode": "",
    "treeCode": "",
    "treeType": 0,
    "securityStatus": 0
  }
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -i 'http://61.244.248.118:9999/business/user/regByAuthCode' --data '{
  "address": "",
  "code": "",
  "pcode": "",
  "treecode": "",
  "type": 0
}'

6.5. 獲取用戶信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 獲取用戶信息

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─accessToken

string

No comments found.

-

└─refreshToken

string

No comments found.

-

└─userId

string

No comments found.

-

└─level

int32

用戶等級 0 0級 1 1級 ... 6 6級

-

└─teamLevel

int32

團隊等級 0無 ,1 v1, 2 v2

-

└─inviteCode

string

邀請碼

-

└─treeCode

string

左區 右區碼

-

└─treeType

int32

0 左區 1 右區

-

└─securityStatus

int32

0 未開啟 google 驗證碼 1已開啟

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "accessToken": "",
    "refreshToken": "",
    "userId": "",
    "level": 0,
    "teamLevel": 0,
    "inviteCode": "",
    "treeCode": "",
    "treeType": 0,
    "securityStatus": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/getUserInfo'

6.6. 每日簽到狀態

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 每日簽到狀態

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─balance

number

總餘額

-

└─volume

number

數量

-

└─rate

number

0.3%

-

└─ctime

string

日期

-

└─status

int32

是否可以領取 0可以領取 1不可以領取

-

└─assets

string

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "balance": 0,
    "volume": 0,
    "rate": 0,
    "ctime": "yyyy-MM-dd HH:mm:ss",
    "status": 0,
    "assets": ""
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/getSignin'

6.7. 第一步,獲取googleSecurity

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 第一步,獲取googleSecurity

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─security

string

google驗證碼

-

└─securityQrCode

string

google驗證碼 二維碼

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "security": "",
    "securityQrCode": ""
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/getGoogleSecurityCode'

6.8. 第二步,設置 googleSecurity

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 第二步,設置 googleSecurity

Query-parameters:

ParameterValueTypeRequiredDescription

code

string

true

No comments found.

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

boolean

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": true
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/setGoogleSecurityCode' --data 'code='

6.9. 取消google二次驗證碼

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 取消google二次驗證碼

Query-parameters:

ParameterValueTypeRequiredDescription

code

string

true

No comments found.

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

boolean

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": true
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/clearGoogleSecurityCode' --data 'code='

6.10. 設置邀請碼

Type: POST

Content-Type: application/json

Description: 設置邀請碼

Body-parameters:

ParameterTypeRequiredDescription

treeCode

string

false

Placement code 左區右區碼

treeType

int32

false

Placement area 左區 0 ,右區 1

Request-body:

{
  "treeCode": "",
  "treeType": 0
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

boolean

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": true
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -i 'http://61.244.248.118:9999/business/user/setInviteCode' --data '{
  "treeCode": "",
  "treeType": 0
}'

6.11. 團隊基本信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 團隊基本信息

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─seniorAddres

string

上級地址

-

└─teamSize

int32

團隊大小

-

└─leftAmount

number

左右業績

-

└─rightAmount

number

右區業績

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "seniorAddres": "",
    "teamSize": 0,
    "leftAmount": 0,
    "rightAmount": 0
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/getTeamInfo'

6.12. 團隊邀請信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 團隊邀請信息

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─leftTeam

object

左區節點

-

     └─address

string

結點地址

-

     └─leftAddress

string

左區地址

-

     └─rightAddress

string

右區地址

-

└─rightTeam

object

右區節點

-

     └─address

string

結點地址

-

     └─leftAddress

string

左區地址

-

     └─rightAddress

string

右區地址

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "leftTeam": {
      "address": "",
      "leftAddress": "",
      "rightAddress": ""
    },
    "rightTeam": {
      "address": "",
      "leftAddress": "",
      "rightAddress": ""
    }
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/getTeamDetails'

6.13. 推薦關系邀請信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 推薦關系邀請信息

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─invites

array

間推

-

└─directs

array

直推

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "invites": [
      ""
    ],
    "directs": [
      ""
    ]
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/getInviteDetails'

6.14. 邀請碼信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 邀請碼信息

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─pcode

string

invitetion code

-

└─treecode

string

placement code

-

└─type

int32

type

-

└─url

string

域名前綴

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": {
    "pcode": "",
    "treecode": "",
    "type": 0,
    "url": ""
  }
}

Curl-example:

curl -X POST -i 'http://61.244.248.118:9999/business/user/getInviteUrl'

6.15. 转让地址

Type: POST

Content-Type: application/json

Description: 转让地址

Request-headers:

HeaderValueTypeRequiredDescription

Authorization

string

true

No comments found.

Body-parameters:

ParameterTypeRequiredDescription

googleCode

int32

false

如有開啟google 需要提交googleCode

address

string

false

No comments found.

Request-body:

{
  "googleCode": 0,
  "address": ""
}

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

boolean

No comments found.

-

Response-example:

{
  "code": 0,
  "msg": "",
  "data": true
}

Curl-example:

curl -X POST -H 'Content-Type: application/json' -H 'Authorization' -i 'http://61.244.248.118:9999/business/user/changeAddress' --data '{
  "googleCode": 0,
  "address": ""
}'
Top