Skip to content

第三方积分、经验修改接口

1 接口名称

第三方积分、经验修改接口

2 接口描述

3 请求地址

plain
{apiAddress}/openapi/v2/change_user_exp_int

4 请求方式

POST

5 请求参数

5.1 form-data 参数

序号参数名参数类型样例值是否必填
1connectNoString
2user_idstring用户id
3timestampLong时间戳
4order_numstring三方交易号
5creditsLong积分,整数,正数表示加积分,负数表示减积分
6expLong经验,整数,正数表示加经验,负数表示减经验
7remarkstring备注

6 返回参数

6.1参数描述

编号字段类型说明
1codeint返回编码
2dataobject消息体
3-.expint用户剩余经验
4-.intint用户剩余积分

6.2参数示例

json
{
  "code": 0,
  "message": "success",
  "data": {
    "exp": 3203388,
    "int": 1856484
  }
}

7 备注

成功返回code是0,非0时均为失败。