Register Process
The registration system supports multiple registration methods, including email/mobile phone number registration and third-party registration services.
Feature
Email/Phone Number Registration: Users can choose to register with either an email address or a phone number.
Third-Party Registration: Support for registration via Google, Facebook, Twitter, Telegram, Apple, and MetaMask.
Relevant Interfaces
Registration Interface
Endpoint:
/register/customer.app.CustomerWebApiService.registerFunction: Handles user registration requests.
Get Country List Interface
Endpoint:
/config.app.AppDictDubboService.getCountryListByParentCodeFunction: Retrieves the list of countries and regions for users to select country codes during registration.
Check Customer Status Interface
Endpoint:
/cats-gateway/global/customer.app.CustomerWebApiService.checkStatusFunction: Checks the customer's status to ensure user information does not already exist.
Send Verification Code Interface
Endpoint:
/global/message.app.VerificationApiService.verifyCodeSendFunction: Sends a verification code to the user for email or phone number registration verification.
Interface Usage Instructions
Before calling the interfaces, please ensure you have carefully read the relevant interface documentation. Below are specific instructions for different registration methods:
1.Email Registration

Verify Customer Information
Use the customer information verification interface to ensure that the account does not already exist before proceeding.
Send Verification Code
Call the send verification code interface to receive a successful verification code ticket (
sendToken).
Complete Registration
Use the registration interface, passing in
loginName,type,sendToken, andverifyCodeparameters. Refer to the interface documentation for specific parameter descriptions.
Notes:
Account Verification: Before sending the verification code, confirm that the account does not already exist to ensure unique user registration information.
Verification Code Ticket: The
sendTokenparameter is the ticket returned after successfully sending the verification code and is used to verify the code's validity.
2.Phone Number Registration

Get Country Code Data
Use the country list interface to retrieve country code data.
Verify Customer Information
Use the customer information verification interface to ensure that the account does not already exist before proceeding.
Send Verification Code
Call the send verification code interface to receive a successful verification code ticket (
sendToken).
Complete Registration
Use the registration interface, passing in
loginName,type,phoneArea,sendToken, andverifyCodeparameters. Refer to the interface documentation for specific parameter descriptions.
Notes:
Account Verification: Before sending the verification code, confirm that the account does not already exist to ensure unique user registration information.
Verification Code Ticket: The
sendTokenparameter is the ticket returned after successfully sending the verification code and is used to verify the code's validity.
Last updated