Skip to content

积分用户列表

请求路径

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://gateway.nuoyunapi.com/Api/Points/getWechatUserPointsList/2.0.0
  • 频率限制:10秒100次

请求参数

参数必选类型描述
wechat_user_space_idinteger用户id精确搜索
wechat_user_namestring用户名称模糊搜索
pageinteger页码,从1开始 (默认值1)
page_sizeinteger每页条数,最大25 (默认值10)

请求示例

json
{
  "wechat_user_space_id": 0,
  "wechat_user_name": "",
  "page": 1,
  "page_size": 10
}

响应参数

参数必选类型描述
codeinteger状态码:200-成功,400-失败
dataobject消息内容
msgstring提示信息

data 参数结构

参数必选类型描述
listarray用户列表
totalinteger总数量

list 参数结构

参数必选类型描述
wechat_user_space_idinteger用户id
wechat_user_namestring用户名称
wechat_user_photostring用户头像
total_pointsinteger总获得积分
used_pointsinteger已使用积分
current_pointsinteger当前积分
consume_pointsinteger消费获得积分
live_pointsinteger直播获得积分
channel_invite_infoobject渠道邀请信息

channel_invite_info 参数结构

参数必选类型描述
channel_idinteger门店id
channel_namestring门店名称
channel_sale_idinteger归属销售员id
channel_sale_namestring归属销售员名称
channel_director_idinteger门店负责人id
channel_director_namestring门店负责人名称

响应示例

json
{
  "code": 200,
  "data": {
    "total": 49,
    "list": [
      {
        "wechat_user_space_id": 2040454,
        "wechat_user_name": "SNOWING",
        "wechat_user_photo": "https://nyfs-alpha.oss-cn-hangzhou.aliyuncs.com/Uploads/WxHeadImg2023/4DBD/FE3FFA29973D4F4B1A6FB9BC46704DBD.jpg",
        "total_points": 0,
        "used_points": 0,
        "current_points": 0,
        "consume_points": 0,
        "live_points": 0,
        "channel_invite_info": {
          "channel_id": 3128461,
          "channel_name": "哈哈",
          "channel_sale_id": 6246,
          "channel_sale_name": "cc",
          "channel_director_id": 0,
          "channel_director_name": ""
        }
      }
    ]
  },
  "msg": "Success"
}