definitions: login.SsoLoginResponse: properties: code: description: 返回Code 200 成功 其他是失败 type: integer count: description: 条数 type: integer data: description: 数据列表 properties: token: description: 返回token type: string type: object message: description: 返回信息 type: object info: contact: {} paths: /api/v1/login/register: post: consumes: - application/json description: 该接口用于用户通过手机号和密码进行登录。如果登录失败,系统会记录错误信息并限制登录次数。 parameters: - description: 用户手机号 in: query name: mobile required: true type: string - description: 用户密码 in: query name: password required: true type: string produces: - application/json responses: "200": description: 登录成功返回Token schema: $ref: '#/definitions/login.SsoLoginResponse' summary: 用户登录 tags: - login swagger: "2.0"