# 设置好友备注

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /set_friend_remark:
    post:
      summary: 设置好友备注
      deprecated: false
      description: 设置好友备注
      tags:
        - 用户接口
        - 用户接口
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                user_id:
                  description: 对方 QQ 号
                  type: string
                remark:
                  description: 备注内容
                  type: string
              required:
                - user_id
                - remark
              x-apifox-orders:
                - user_id
                - remark
              x-apifox-ignore-properties: []
            examples:
              Default:
                value:
                  user_id: '123456'
                  remark: 测试备注
                summary: 默认请求示例
      responses:
        '200':
          description: 业务响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponse'
                  - type: object
                    required:
                      - data
                    properties:
                      data:
                        type: 'null'
                        description: 业务数据
                    x-apifox-orders:
                      - data
                    x-apifox-ignore-properties: []
              examples:
                Success:
                  summary: 成功响应
                  value:
                    status: ok
                    retcode: 0
                    data: {}
                    message: ''
                    wording: ''
                    stream: normal-action
                Error_1400:
                  summary: 备注设置失败（好友不存在或非法输入）
                  value:
                    status: failed
                    retcode: 1400
                    data: null
                    message: 备注设置失败（好友不存在或非法输入）
                    wording: 备注设置失败（好友不存在或非法输入）
                    stream: normal-action
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 用户接口
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5348325/apis/api-298305173-run
components:
  schemas:
    BaseResponse:
      type: object
      x-schema-id: BaseResponse
      properties:
        status:
          type: string
          description: 状态 (ok/failed)
        retcode:
          type: number
          description: 返回码
        data:
          type: string
        message:
          type: string
          description: 消息
        wording:
          type: string
          description: 提示
        stream:
          type: string
          description: 流式响应
          enum:
            - stream-action
            - normal-action
      required:
        - status
        - retcode
      x-apifox-orders:
        - status
        - retcode
        - data
        - message
        - wording
        - stream
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes: {}
servers: []
security: []

```
