Skip to main content

SetAdulthood

The setAdulthood is used for the player to set their adult status on their own.

Request Parameter

ParameterTypeDescription
adultCheckStatusnumberAdult status
-1: Minor
0: Not set
1: Adult

Request Sample

complianceApi.setAdulthood(
{
adultCheckStatus: 1,
},
(res) => {
console.log(res);
}
);

Response Parameter

ParameterTypeDescription
retnumberReturn code
0: Request success, parse related returned field information.
!=0: Request failure, check msg for the detailed return message.
msgstringReturn message

Response Sample

{
msg: "success",
ret: 0
}