直接调用接口消费积分场景下的接口调用流程:

1.1.1. 1. 请求用户创建接口创建用户账号, 如果之前已经创建过了, 则可跳过

/open/api/v1/merchant/user
{
    "phoneNumber":"13268266380"
}

1.1.2. 2. 调用积分消费接口直接扣减用户积分

/open/api/v1/merchant/consume
{
    "toId":"13268266380",
    "amount":12,
    "mark":"消费积分"
}

results matching ""

    No results matching ""