Skip to content

User Related Recent

1. Log In

ParameterTypeDescriptionRemark
funString/config/user/login
phoneStringPhone number
passwordStringPassword
utagIntegerSub-account1-10
json
{
    "fun": "/config/user/login",
    "data": {
        "phone": "13999999999",
        "password": "sdfsdfdsf",
        "utag": 2
    }
}

Response Fields:

FieldDescription
total_licenseNumber of authorizations
local_total_licenseTest authorization number
create_timeRegistration time
overdue_timeExpiration time
user_state1=Formal, other=Test
passVerification passed
dev_numNumber of users
dev_online_numOnline count
utagSub-account

2. Log Out

Request: fun = /config/user/logout

bash
curl --request GET \
  --url 'http://192.168.9.9:9911/api/config/user/logout'

3. Get User Information

Request: fun = /config/user/info

bash
curl --request GET \
  --url 'http://192.168.9.9:9911/api/config/user/info'

Returns the same fields as the login response.

4. Switch Sub-Account

ParameterTypeDescription
funString/config/user/switch
idString1 to 10
json
{
    "fun": "/config/user/switch",
    "data": {
        "id": "3"
    }
}

Some3C Phone Farm Documentation