#

# Function Description

this function be used in the user login Meishe-Editor.

# Request

# Request Example

POST /login HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>

# Request Headers

Name Description Type Mandatory
Authorization User token information string true

# Request Parameters

None

# Request Body

{
  "loginName": "admin",
  "password": "123456"
}

# Response

# Response Header

No special response header

# Response Body

Successful Response Body:

{
  "code": 0,
  "enMsg": "success",
  "msg": "成功",
  "data": {
    "token": "eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2NDY3MDkwMTEsInVzZXJJZCI6MSwiaWF0IjoxNjQ2NjIyNjExLCJqdGkiOiIxIn0.cr2nuC4n6xLFLhUb5d9_ZqSS37OeUX_pgvroT0ERTMPNZ09LlqP1fKUqrg3c0JYyXnMMKBcc6712-vrH3FDzwg",
    "userId": 1,
    "nickName": null,
    "authInfo": null
  }
}

Failed Response Body:

{
  "code": <errorCode>,
  "enMsg": <errorMessage>,
  "msg": <errorMessage>
  "data": null
}