有赞新零售社区

发帖
API使用问题»给用户加积分报错

[API调用-会员/营销] 给用户加积分报错

GS 01-17 595 浏览 1 评论 | 只看楼主 [打印]
【请求数据】:{"reason":"测试01","biz_value":"000000000001","user":{"account_type":2,"account_id":"传了真实的手机号"},"points":1}
【响应数据】:{"trace_id":"yz7-0ae85be8-1705398781587-633790","code":141500101,"success":false,"message":"user user不能为空; reason reason不能为空"}

用手机打开
收藏 ··· 回复
    入参格式有问题,正确应该是(示列):
    {
      "params": {
        "reason": "点赞奖励积分",
        "biz_value": "IN201908220100131111",
        "is_do_ext_point": false,
        "check_customer": true,
        "source_kdt_id": "53443579",
        "channel_type": 0,
        "user": {
          "account_type": 2,
          "account_id": "18513184712"
        },
        "points": 1000
      }
    }

    但是是实际是
    {
                    "reason":"测试01",
                    "biz_value":"000000000001",
                    "user":{
                        "account_type":2,
                        "account_id":"18801205117"
                    },
                    "points":1
                }

      1跳至
      您需要登录后才可以回帖 登录 | 立即注册

      本版积分规则

      复制链接
      新浪微博
      QQ空间
      微信扫码
      • 回复

      • 评分

      客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

      复制成功