- model:  管理员
  handler: "Admin"  # API handler 无说明
  apis: "/admin/member"
  name: 后台管理员
  description: 无说明
  method:
    get:
        summary: 无说明
        description:
        parameters:
          - name: uid
            in: query
            description: uid
            required: true
            type: int
        responses:
            {
                "nick_name": "无说明",
                "sex": 1,
                "mobile": "13681236816",
                "state": 1,
                "gid": 1,
                "email": "123@qq.com"
            }

    post:
        summary: 无说明
        description:
        parameters:
          - name: user_name
            in: query
            description:
            required: true
            type: str
          - name: pass_word
            in: query
            description: 无说明，无说明
            required: true
            type: str
          - name: nick_name
            in: query
            description:
            required: true
            type: str
          - name: sex
            in: query
            description: 1 无说明 0 无说明
            required: true
            type: int
          - name: mobile
            in: query
            description: 无说明
            required: true
            type: str
          - name: email
            in: query
            description: 无说明
            required: true
            type: str
          - name: gid
            in: query
            description: 无说明 1 无说明 2 无说明
            required: true
            type: int

    put:
        summary: 无说明
        description:
        parameters:
          - name: uid
            in: query
            description:
            required: true
            type: int
          - name: nick_name
            in: query
            description:
            required: false
            type: str
          - name: sex
            in: query
            description: 1 无说明 0 无说明
            required: false
            type: int
          - name: mobile
            in: query
            description: 无说明
            required: false
            type: str
            regex: ^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(17[0,3,5-8])|(18[0-9])|166|198|199|(147))\d{8}$|^0\d{10}$
          - name: email
            in: query
            description: 无说明
            required: false
            type: str
          - name: gid
            in: query
            description: 无说明 1 无说明 2 无说明
            required: false
            type: int

    delete:
        summary: 无说明
        description:
        parameters:
          - name: uid
            in: query
            description: uid
            required: false
            type: int

- handler: "AdminLogin"  # API handler 无说明
  apis: "/admin/login"
  name: 无说明
  description: 无说明
  method:
    post:
        summary: 无说明
        description:
        parameters:
          - name: user_name
            in: query
            description: 无说明
            required: true
            type: str
          - name: pass_word
            in: query
            description: 无说明
            required: true
            type: str
        responses:
              {
                  "nick_name": "无说明",
                  "user_name": "name",
                  "token": "xxxxxxx",
                  "sex": 1,
                  "mobile": "13681236816",
                  "state": 1,
                  "gid": 1,
                  "uid": 66,
                  "_id": str,          # uid
                  "email": "123@qq.com"
              }

- handler: "resetpwd"
  apis: "/admin/resetpwd"
  name: 无说明
  description: 无说明
  method:
    post:
        summary: 无说明
        description:
        parameters:
          - name: pass_word
            in: query
            description: 无说明
            required: true
            type: str
          - name: new_pass_word
            in: query
            description: 无说明
            required: true
            type: str
        responses:
              {
                  "msg": "ok",
              }

- handler: "AdminFind"
  apis: "/admin/find"
  name: 无说明
  method:
    post:
        summary: 无说明
        description: 无说明（无说明）
        parameters:
          - name: page
            description: 无说明
            required: true
            type: str

        responses:
          {
            'data_list':
              [
                {
                  'user_name':'无说明',
                  'pass_word':'无说明',
                  'nick_name': '无说明',
                  'sex': 1,
                  'mobile': '无说明',
                  'email': '123@qq.com',
                  'state': 1,
                  'uid': 666,
                  'gid': 1
                }
            ],
            'pages': 10
          }
    get:
        summary: 无说明
        description: 无说明
        parameters:

        responses:
          {
            'data_list':
              [
                {
                  'user_name':'无说明',
                  'pass_word':'无说明',
                  'nick_name': '无说明',
                  'sex': 1,
                  'mobile': '无说明',
                  'email': '123@qq.com',
                  'state': 1,
                  'uid': 666,
                  'gid': 1
                }
            ]
          }

- handler: "AdminStates"
  apis: "/admin/states"
  name: 无说明/无说明
  method:
    post:
        summary: 无说明/无说明
        description:
        parameters:
          - name: uid
            in: query
            description: uid
            required: true
            type: int
          - name: state
            in: query
            description:  1 无说明 -1 无说明
            required: true
            type: int
            allow: [1, -1]

        responses:
            {
            }
