Gee ID OAuth 2.0 API
    • OAuth2
      • 用户授权页
        GET
      • 使用授权码换取 Access Token
        POST
    • User
      • 获取用户信息
        GET
    • 数据模型
      • TokenRequest
      • TokenResponse
      • UserInfoEnvelope
      • UserInfoData
      • UserInfoErrorEnvelope
      • ErrorBody

    UserInfoEnvelope

    成功时的统一包装

    {
        "code": 200,
        "msg": "ok",
        "data": {
            "id": 10001,
            "username": "GeeUser",
            "email": "user@example.com",
            "regtime": "2026-03-28 12:00:00",
            "status": 1,
            "realname": true,
            "realname_status": 0,
            "group": 0,
            "avatar": "http://example.com",
            "phone": "string"
        },
        "flag": true
    }
    Built with