客户接口/社交账号登录
version=0.0.1 bizType=customer.app.CustomerThirdLoginService.config 游客可访问
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}第三方源 google,facebook,twitter,telegram,apple,metamask
POST /api/global/customer.app.CustomerThirdLoginService.config HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"thirdSource": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"thirdSource": "text",
"clientId": "text",
"developerAccount": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.appleVerify 登录之后可以访问
app端必传
app端必传
web端必传
web端必传
POST /api/h/com.cats.customer.api.app.CustomerThirdLoginService/appleVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"companyId": 1,
"openId": "text",
"identityToken": "text",
"email": 1,
"code": "text",
"idToken": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.facebookVerify 登录之后可以访问
校验accessToken
POST /api/third/login/customer.app.CustomerThirdLoginService.facebookVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"accessToken": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.googleVerify 登录之后可以访问
POST /api/h/com.cats.customer.api.app.CustomerThirdLoginService/googleVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"idToken": "text",
"accessToken": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"data": {
"thirdSource": "text",
"result": true,
"phone": "text",
"action": "text",
"failReason": "text",
"userId": "text",
"email": "text",
"token": "text"
},
"msgParams": "text"
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.telegramVerify ###0.0.2版本,配合三方注册,登录(不需要手机、邮箱)使用 version=0.0.2 bizType=customer.app.CustomerThirdLoginService.telegramVerify 登录之后可以访问
{{company}}en-US{{mock_trace}}0.0.1POST /api/third/login/customer.app.CustomerThirdLoginService.telegramVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
lang: text
trace: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"userJsonStr": "text",
"channelSource": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text",
"authToken": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.metaMaskVerify 登录之后可以访问
POST /api/third/login/customer.app.CustomerThirdLoginService.metaMaskVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"web3Signature": "text",
"address": "text",
"timestamp": 1
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.twitterVerify 登录之后可以访问
oauth_token
oauth_token_secret
user_id
screen_name
access_token
state
client_id
network
display
redirect_uri
scope
oauth_proxy
POST /api/third/login/customer.app.CustomerThirdLoginService.twitterVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 236
{
"oauth_token": "text",
"oauth_token_secret": "text",
"user_id": "text",
"screen_name": "text",
"access_token": "text",
"state": "text",
"client_id": "text",
"network": "text",
"display": "text",
"redirect_uri": "text",
"scope": "text",
"oauth_proxy": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.login 游客可访问
{{company}}en-US{{mock_trace}}0.0.1第三方源 google,facebook,twitter,telegram,apple,metamask
第三方userId
邮箱
手机号
POST /api/third/login/customer.app.CustomerThirdLoginService.login HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
lang: text
trace: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"thirdSource": "text",
"userId": "text",
"email": "text",
"phone": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"id": 1,
"companyId": 1,
"customerGroupId": 1,
"customerNo": "text",
"kycAuditStatus": 1,
"kycAuditRemark": "text",
"kycStatus": 1,
"kycRemark": "text",
"accountList": {},
"accountRemark": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"country": "text",
"type": 1,
"deposit": 1,
"withdraw": 1,
"optional": 1,
"activateStatus": 1,
"activateTime": 1,
"companyKycStatus": 1,
"status": 1,
"thirdServerCode": "text",
"source": "text",
"thirdLoginSource": "text",
"thirdUserId": "text",
"idCard": "text",
"idCardType": "text",
"thirdIntactMsg": "text",
"firstName": "text",
"lastName": "text",
"isFund": 1,
"assertPassStatus": "text",
"googleId": 1,
"openAccountType": 1,
"loginTime": 1,
"createTime": 1,
"relationCustomerId": 1,
"companyType": "text",
"registerSource": 1,
"associationCompanyId": 1,
"registerTime": 1
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.register 游客可访问
{{company}}en-US{{mock_trace}}0.0.1国家
第三方源 google,facebook,twitter,telegram,apple,metamask
第三方userId
客户组ID
邮箱 与手机号码必须存在一个
手机号码
新手机区号
验证码
验证码发送票据
注册来源:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台注册:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他
广告来源(开户链接参数source)
广告媒介(开户链接参数medium)
广告系列(开户链接参数campaign)
广告组(开户链接参数content)
关键词(开户链接参数term)
语言信息
第三方系统唯一编号
第三方系统来源,如:代理=agent
注册的设备型号
POST /api/third/login/customer.app.CustomerThirdLoginService.register HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 266
{
"customerGroupId": 1,
"userId": "5708954114",
"phoneArea": "18163223782",
"phone": "18631358776",
"sendToken": "reprehenderit veniam do sit minim",
"verifyCode": "23",
"country": "CN",
"thirdSource": "telegram",
"registerSource": 2,
"thirdServerSource": "test",
"thirdServerCode": "10"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"customerNo": "text",
"list": [
{
"levelCode": "text",
"openAccountType": 1,
"levelName": "text",
"pathName": "text",
"pathCode": "text",
"elementList": [
{
"elementCode": "text",
"elementName": "text",
"showType": "text",
"extend": "text",
"elementValue": "text",
"elementValueInputGroup": "text",
"elementCodeInputGroup": "text"
}
]
}
],
"companyId": 1,
"ext1": "text",
"ext2": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"customerGroupId": 1,
"country": "text",
"id": 1,
"optional": 1,
"companyKycStatus": 1,
"thirdServerCode": "text",
"source": "text",
"capitalInStatus": 1,
"openAccountType": 1,
"companyType": "text",
"associationCompanyId": 1,
"registerTime": 1,
"apiCheckSwitch": true,
"apiCheckRule": "text",
"token": "text"
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.socialLogin 游客可访问
{{company}}en-US{{mock_trace}}0.0.1第三方源 telegram
第三方userId
三方授权凭证
POST /api/third/login/customer.app.CustomerThirdLoginService.socialLogin HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
lang: text
trace: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"thirdSource": "text",
"userId": "text",
"authToken": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"id": 1,
"companyId": 1,
"customerGroupId": 1,
"customerNo": "text",
"kycAuditStatus": 1,
"kycAuditRemark": "text",
"kycStatus": 1,
"kycRemark": "text",
"accountList": {},
"accountRemark": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"country": "text",
"type": 1,
"deposit": 1,
"withdraw": 1,
"optional": 1,
"activateStatus": 1,
"activateTime": 1,
"companyKycStatus": 1,
"status": 1,
"thirdServerCode": "text",
"source": "text",
"thirdLoginSource": "text",
"thirdUserId": "text",
"idCard": "text",
"idCardType": "text",
"thirdIntactMsg": "text",
"firstName": "text",
"lastName": "text",
"isFund": 1,
"assertPassStatus": "text",
"googleId": 1,
"openAccountType": 1,
"loginTime": 1,
"createTime": 1,
"relationCustomerId": 1,
"companyType": "text",
"registerSource": 1,
"associationCompanyId": 1,
"registerTime": 1
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.socialRegister 游客可访问
{{company}}en-US{{mock_trace}}0.0.1国家code
第三方源 telegram
第三方userId
三方授权凭证
注册来源:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台注册:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他
客户组ID
广告来源(开户链接参数source)
广告媒介(开户链接参数medium)
广告系列(开户链接参数campaign)
广告组(开户链接参数content)
关键词(开户链接参数term)
语言信息
第三方系统唯一编号
第三方系统来源,如:代理=agent
注册的设备型号
登录票据
POST /api/third/login/customer.app.CustomerThirdLoginService.socialRegister HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 314
{
"country": "text",
"thirdSource": "text",
"userId": "text",
"authToken": "text",
"registerSource": 1,
"customerGroupId": 1,
"utmSource": "text",
"utmMedium": "text",
"utmCampaign": "text",
"utmContent": "text",
"utmTerm": "text",
"lang": "text",
"thirdServerCode": "text",
"thirdServerSource": "text",
"registerDevice": "text",
"token": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"customerNo": "text",
"list": [
{
"levelCode": "text",
"openAccountType": 1,
"levelName": "text",
"pathName": "text",
"pathCode": "text",
"elementList": [
{
"elementCode": "text",
"elementName": "text",
"showType": "text",
"extend": "text",
"elementValue": "text",
"elementValueInputGroup": "text",
"elementCodeInputGroup": "text"
}
]
}
],
"companyId": 1,
"ext1": "text",
"ext2": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"customerGroupId": 1,
"country": "text",
"id": 1,
"optional": 1,
"companyKycStatus": 1,
"thirdServerCode": "text",
"source": "text",
"capitalInStatus": 1,
"openAccountType": 1,
"companyType": "text",
"associationCompanyId": 1,
"registerTime": 1,
"apiCheckSwitch": true,
"apiCheckRule": "text"
},
"ok": true,
"fail": true
}Last updated