get_profile.md
2.94 KB
获取个人信息
OpenAPI Specification
openapi: 3.0.1
info:
title: ''
version: 1.0.0
paths:
/srv/:
get:
summary: 获取个人信息
deprecated: false
description: ''
tags:
- 用户
parameters:
- name: f
in: query
description: ''
required: true
example: manulife
schema:
type: string
- name: a
in: query
description: ''
required: true
example: user
schema:
type: string
- name: t
in: query
description: ''
required: true
example: get_profile
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: integer
msg:
type: string
data:
type: object
properties:
user:
type: object
properties:
id:
type: integer
title: 用户ID
avatar_url:
type: string
title: 头像
name:
type: string
title: 姓名
avatar_meta_id:
type: integer
title: 头像的附件ID
employee_no:
type: string
title: 工号
x-apifox-orders:
- id
- name
- avatar_url
- avatar_meta_id
- employee_no
title: 用户信息
required:
- id
- avatar_url
- name
- avatar_meta_id
- employee_no
x-apifox-orders:
- user
required:
- user
x-apifox-orders:
- code
- msg
- data
required:
- code
- msg
- data
headers: {}
x-apifox-name: 成功
x-apifox-ordering: 0
security: []
x-apifox-folder: 用户
x-apifox-status: testing
x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-413906668-run
components:
schemas: {}
responses: {}
securitySchemes: {}
servers: []
security: []