SetAdulthood
The setAdulthood
is used for the player to set their adult status on their own.
Request Parameter
Parameter | Type | Description |
---|---|---|
adultCheckStatus | number | Adult status -1: Minor 0: Not set 1: Adult |
Request Sample
complianceApi.setAdulthood(
{
adultCheckStatus: 1,
},
(res) => {
console.log(res);
}
);
Response Parameter
Parameter | Type | Description |
---|---|---|
ret | number | Return code 0: Request success, parse related returned field information. !=0: Request failure, check msg for the detailed return message. |
msg | string | Return message |
Response Sample
{
msg: "success",
ret: 0
}