客户接口/信用卡相关

校验设置密码链接有效性

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.checkToken 游客可访问

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringRequired

登录token

Example: {{LoginResult.data.token}}
langstringRequired

语言

Example: zh-CN
Body
companyIdinteger · longRequired

环境变量配置

checkTokenstring | nullableOptional

邮件链接信息上的token信息

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkToken
POST /api/global/customer.app.CustomerWebApiService.checkToken HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "msgParams": "dolore ad et",
  "tm": 99,
  "bizCode": "8",
  "code": "99",
  "msg": "pariatur",
  "ok": true,
  "data": {},
  "fail": true,
  "trace": "nisi eu pariatur"
}

设置密码,校验手机号码

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.checkPhone 游客可访问

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringRequired

登录token

Example: {{LoginResult.data.token}}
langstringRequired

语言

Example: zh-CN
Body
checkTokenstringRequired

邮件链接信息上的token信息

phonestringRequired
phoneAreastringRequired
smsVerifyCodestringRequired
smsSendTokenstringRequired
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkPhone
POST /api/global/customer.app.CustomerWebApiService.checkPhone HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "msgParams": "dolore ad et",
  "tm": 99,
  "bizCode": "8",
  "code": "99",
  "msg": "pariatur",
  "ok": true,
  "data": {},
  "fail": true,
  "trace": "nisi eu pariatur"
}

忘记密码,校验手机号码

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.checkPhoneForRetriedLoginPwd 游客可访问

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringRequired

登录token

Example: {{LoginResult.data.token}}
langstringRequired

语言

Example: zh-CN
Body
phonestringRequired
phoneAreastringRequired
smsVerifyCodestringRequired
smsSendTokenstringRequired
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkPhoneForRetriedLoginPwd
POST /api/global/customer.app.CustomerWebApiService.checkPhoneForRetriedLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 94

{
  "phone": "13512331033",
  "phoneArea": "18163849750",
  "smsVerifyCode": "51",
  "smsSendToken": "cillum"
}
200Success
{
  "msgParams": "dolore ad et",
  "tm": 99,
  "bizCode": "8",
  "code": "99",
  "msg": "pariatur",
  "ok": true,
  "data": {},
  "fail": true,
  "trace": "nisi eu pariatur"
}

找回密码

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.retrieveLoginPwd 游客可访问

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
langstringRequired

语言

Example: zh-CN
Body
newPwdstring · min: 6 · max: 50Required
validTokenstringRequired

前一步生成token

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.retrieveLoginPwd
POST /api/global/customer.app.CustomerWebApiService.retrieveLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "msgParams": "dolore ad et",
  "tm": 99,
  "bizCode": "8",
  "code": "99",
  "msg": "pariatur",
  "ok": true,
  "data": {},
  "fail": true,
  "trace": "nisi eu pariatur"
}

首次设置密码

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.firstSetLoginPwd 游客可访问,设置成功后自动登录

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringRequired

登录token

Example: {{LoginResult.data.token}}
langstringRequired

语言

Example: zh-CN
Body
newPwdstring · min: 6 · max: 50Required
deviceintegerRequired

登录设备: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=不属于以上的:其他

validTokenstringOptional

前一步生成token

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.firstSetLoginPwd
POST /api/global/customer.app.CustomerWebApiService.firstSetLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "data": {
    "id": 61,
    "thirdServerCode": "48",
    "token": "velit eiusmod",
    "companyId": 67,
    "relationCustomerId": 6,
    "country": "commodo ex culpa ea",
    "associationCompanyId": 19,
    "source": "sit velit tempor et enim",
    "companyType": "eiusmod",
    "customerNo": "cillum tempor sed aute aliquip",
    "customerGroupId": 67
  },
  "fail": true,
  "code": "54",
  "bizCode": "23",
  "msg": "tempor incididunt eu laborum",
  "msgParams": "quis",
  "ok": false,
  "trace": "cillum",
  "tm": 29
}

Last updated