# page

## userLogin

<mark style="color:green;">`POST`</mark> `/page/userLogin`

userLogin

#### Request Body

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| passWord | string | passWord    |
| userName | string | userName    |

{% tabs %}
{% tab title="200 login successfully and return token" %}

```
{code: 200, message: "", token: ""}
```

{% endtab %}

{% tab title="500 failed to login, the data filed of response data describe the error message" %}

```
{"code":500,"message":"userNameError: admin","data":""}
```

{% endtab %}
{% endtabs %}
