1.注册jugugu
POST
https://testnet.jugugu.cn/Jugugu_FastReg
请求参数
Body 参数application/json
phone
string
手机号
account
string
项目方账户
secret
string
项目方密码
time
integer
+8区Unix时间,单位秒
randomtoken
string
通信随机令牌
paymentpassword
string | null
区块链短密钥
openid
string
项目方账户系统的唯一识别码
示例
{
"phone": "10101010101",
"account": "31c681bcb34c1457ab5b1521c340468ce106dfc6592bac55fb68f76994130d66",
"secret": "8d0f0b25c236af70c4980bea261b154745ccfba25e5683ef100a9e05b0922e88",
"time": 1651063790,
"openid": "951",
"randomtoken": "12qqqqUtcon1swwectetu1ssssssssssroccaecatveniam",
"paymentpassword": ""
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testnet.jugugu.cn/Jugugu_FastReg' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "10101010101",
"account": "31c681bcb34c1457ab5b1521c340468ce106dfc6592bac55fb68f76994130d66",
"secret": "8d0f0b25c236af70c4980bea261b154745ccfba25e5683ef100a9e05b0922e88",
"time": 1651063790,
"openid": "951",
"randomtoken": "12qqqqUtcon1swwectetu1ssssssssssroccaecatveniam",
"paymentpassword": ""
}'
返回响应
🟢200成功
application/json
Body
phone
string
手机号
confluxaddress
string
cfx地址
ethaddress
string
eth地址
paymentpassword
string
区块链短密钥
token
string
登录令牌
示例
{
"phone": "10101010101",
"confluxaddress": "cfxtest:aar1hp52zwfm4b5n6z2xrsgeacj8fuzv6e2365319n",
"ethaddress": "0x4B73b378ac8aaD076Be57136B8c40091E2c2b1e1",
"paymentpassword": "9ab14abcda15f774152b",
"token": "df482c720c10a36969c68b77a44225e604592d8a396ce7fd34fd311845d34b91"
}
修改于 2022-05-21 08:26:03