客户接口/代理相关
version=0.0.1 bizType=customer.app.CustomerWebApiService.queryCustomerOfAgentPage 登录之后可以访问
Header parameters
companyIdstringOptionalExample:
{{company}}tokenstringOptionalExample:
{{LoginResult.data.token}}langstringOptionalExample:
en-UStracestringOptionalExample:
{{mock_trace}}versionstringOptionalExample:
0.0.1Body
currentintegerRequired
当前页
sizeintegerRequired
每页条数
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.queryCustomerOfAgentPagePOST /api/global/customer.app.CustomerWebApiService.queryCustomerOfAgentPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"size": 20,
"current": 1
}200Success
{
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"data": {
"records": [
{
"id": 1,
"createTime": 1,
"updateTime": 1,
"customerGroupId": 1,
"customerGroupName": "text",
"status": 1,
"companyId": 1,
"customerNo": "text",
"phone": "text",
"phoneArea": "text",
"registerSource": 1,
"unitId": 1,
"firstName": "text",
"lastName": "text",
"email": "text",
"customerType": 1
}
],
"total": 1,
"size": 1,
"current": 1
},
"fail": true,
"ok": true,
"bizCode": "text",
"msgParams": "text"
}version=0.0.1 bizType=customer.app.CustomerWebApiService.registerOfAgentShareLink 游客可以访问 代理分享链接,客户注册
Header parameters
companyIdstringOptionalExample:
{{company}}langstringOptionalExample:
en-UStracestringOptionalExample:
{{mock_trace}}versionstringOptionalExample:
0.0.1Body
countrystringRequired
国家
langstringOptional
语言信息,默认en-US
phoneAreastring · max: 15Optional
手机区号
loginNamestring · max: 50Required
账号:邮箱/手机号码,与type配合使用
pwdstringOptional
密码,MD5加密
typeinteger · int32 · min: 1 · max: 2Required
注册方式:1邮箱,2手机号码
registerDevicestringOptional
注册的设备型号
registerSourceinteger · int32 · min: 1Required
注册来源: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=不属于以上的:其他
utmSourcestringOptional
广告来源(开户链接参数source)
utmMediumstringOptional
广告媒介(开户链接参数medium)
utmCampaignstringOptional
广告系列(开户链接参数campaign)
utmContentstringOptional
广告组(开户链接参数content)
utmTermstringOptional
关键词(开户链接参数term)
customerGroupIdinteger · int64Optional
客户组ID
thirdServerCodestringRequired
第三方系统唯一编号(传入代理客户编号)
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.registerOfAgentShareLinkPOST /api/global/customer.app.CustomerWebApiService.registerOfAgentShareLink HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 150
{
"registerSource": 1,
"type": 2,
"country": "CN",
"loginName": "18168114637",
"thirdServerCode": "86021560",
"pwd": "magna reprehenderit in",
"customerGroupId": 1
}200Success
{
"msg": "Success",
"fail": false,
"trace": "x-8e544ed3-057a-48ed-ade2-27d3998f7411-1677654224398",
"code": "0",
"data": {
"customerGroupId": null,
"sources": null,
"apiKey": "47b471e57c394e8fbc18535805e04016",
"updateTime": 1677654224184,
"expiredTime": 1685430224184,
"privateKey": "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAKvivs7OSD2kYMGjDoOQ6ATsnLV7GMZgJUtDW5N4RS+ZEG/unVSgbBxfVRYvJ3TQ7/bmf24Brs+dqEhWrlXHgdxe2ieQ4IBZb94jScUW2GWBlpz1ULCB1UIYF0sp6fzfadgeCkJrEdtC5xcp0dbg6KzAJOT2Qg6fuELt6M6PQsQlAgMBAAECgYA96ixfJDEjey2bMpgMzkq1U2HTgWbYNlPYu4emJEGPtqwUFbi4fhzTT4e/uPaWfpihsD+gqZyFjr3KaObdYUMmPX2gNVn1qtcTICF4Y0MPFhaGIb8hUzi/xJpOUYinOFzZpE3bt1EUvIlIvDzdqDKD6gEs6kh2ana2JPXzZAZiwQJBAOZ3PbrqDNM239/TvD2yzG6Z35thInH1P4ziShn3saOwU5vNYRt4ArfgNYUnjrlSFOYxAtkxr2GCOIUdfiYwd1UCQQC+7fu1FMWFEKnyg2DR0nkaj461EWNgEUD1nCUDP4d71ccUcf6399faatc3XAqzG7+XApxQpVp+eQIS3QefyHmRAkAJGdRaOTvga15T3GymkxT3mSP3YtKVZXXo/lamx90/9YqXsHiROSACWtxCMdm0/8TLgkv2f7vJQfcxaoS8xVUxAkAQbNzImT7c0bAtIsxDgL3WYR8/yH0qGJHkD0jH3MFFEAEOazgkj3fMXICjTJHHEs4KqbjU30THuJVLFiS/xDlhAkA4L4sl3aFVDFo0CUFjSMxFquaYe8QeS8t1eBpUR7PSJcKS80jKrHk4s8SOSf9/yuU/Kbnki4rUTXpR5fSscOqC",
"whiteIps": null,
"companyId": 368,
"createTime": 1677654224184,
"customerId": 117,
"ipLimit": false,
"tag": "2343",
"withdrawTime": 1677827024184,
"secretKeyMd5": "95cfcea9ef853cd519d65858ddc01dfe",
"id": 3,
"permissionDTOList": [
{
"code": "ready_only",
"paths": null,
"canEdit": false,
"name": "Read",
"status": 1
},
{
"code": "trade",
"paths": null,
"canEdit": true,
"name": "Spot Trade",
"status": 2
},
{
"code": "contract_trade",
"paths": null,
"canEdit": true,
"name": "Contract Trade",
"status": 2
},
{
"code": "captial_out",
"paths": null,
"canEdit": true,
"name": "Withdraw",
"status": 2
}
],
"customerNo": "86000116",
"validityDays": 90,
"pubKey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCr4r7Ozkg9pGDBow6DkOgE7Jy1exjGYCVLQ1uTeEUvmRBv7p1UoGwcX1UWLyd00O/25n9uAa7PnahIVq5Vx4HcXtonkOCAWW/eI0nFFthlgZac9VCwgdVCGBdLKen832nYHgpCaxHbQucXKdHW4OiswCTk9kIOn7hC7ejOj0LEJQIDAQAB"
},
"bizCode": "",
"tm": 87948437,
"msgParams": null,
"ok": true
}Last updated