MBH设备运动数据对接API


第三方通过API接口授权设备登录

接口描述:

  • 第三方通过API接口授权设备登录接口

请求URL:

  • http://api.jawofit.cn/jawofit/clubadmin/apiAuthEquipment

请求方式:

  • POST,GET

参数:

参数名 必选 类型 说明
token string 第三方访问令牌
qrcode_id string 二维码id
third_uid string 第三方用户唯一标识
phone string 手机号
username string 用户名字
sex int 0-未知 1-male 2-female
weight int 体重,单位kg
height int 身高,单位cm
birth string 出生年月日,yyyy-MM-dd

返回

{
    "code": 200,
    "message": "请求成功",
    "message_en": "Success",
    "data": {
        "clubUser": {
            "user_id": "138",
            "phone": "13211112222",
            "username": "te01",
            "sex": 2,
            "weight": "",
            "height": "",
            "birth": "",
            "icon_url": "http://p.jawofit.cn/public/jawosport/anonymous.png",
            "club_username": "te01"
            "remark": ""
        }
    }
}

token失效返回

{
    "code": 30001,
    "message": "无效token",
    "error_msg": "无效token"
}

返回参数说明

参数名 类型 说明
club_uid String 俱乐部用户id
user_id String 平台用户id
third_uid string 第三方用户唯一标识
sex int 性别,0-未知 1-male 2-female
weight int 体重,单位kg
height int 身高,单位cm
birth String 出生年月日
icon_url String 用户头像
username String 用户名
club_username String 俱乐部备注用户名

页面列表

ITEM_HTML