C5GAME-伙伴平台
  1. 用户信息
C5GAME-伙伴平台
  • OAuth2 授权流程介绍
  • 用户接口
    • 接口说明
    • 用户信息
      • 用户基础信息
        GET
      • 用户手机号
        GET
      • 用户资产信息
        GET
      • 查询用户steam信息
        GET
      • 读取 steam 库存
        GET
    • 用户订单
      • 购买订单查询
      • 出售订单查询
      • 订单发货
    • 商品管理
      • 在售列表
      • 上架
      • 在售改价
      • 商品下架
  • 合作伙伴接口
    • 接口说明
    • 获取商品价格
      POST
  1. 用户信息

用户手机号

GET
https://partner.c5game.com/api/user/v1/mobile
该接口需要权限 mobile

请求参数

Query 参数
access_token
string 
可选
示例值:
{{access_token}}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://partner.c5game.com/api/user/v1/mobile?access_token={{access_token}}'

返回响应

🟢200成功
application/json
Body
success
boolean  | null 
可选
Is request successful
data
object (MobileInfoVO) 
可选
Business data
area
string  | null 
区域代码
可选
mobile
string  | null 
手机号
可选
errorCode
integer  | null 
可选
Error code
errorMsg
string  | null 
可选
Error message
errorData
object (Object) 
可选
Error data,when errorCode is not equals to 0,maybe this property will have a value
errorCodeStr
string  | null 
可选
like the errorCode,but this property is string
示例
{
    "success": true,
    "data": {
        "area": "86",
        "mobile": "1888883369"
    },
    "errorCode": 0,
    "errorMsg": null,
    "errorData": null,
    "errorCodeStr": null
}
上一页
用户基础信息
下一页
用户资产信息
Built with