正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史记录

版本 1 下一个 »

URL: /api/platform/plugindata/queryPlayerRedRecordList

Type: POST

Author: Shang Pan

Content-Type: application/json; charset=utf-8

Description: 红包数据列表分页条件查询

Body-parameters:

Parameter

Type

Required

Description

opfid

string

true

开放平台ID

nonce

string

true

6位随机字串不能为空

timestamp

string

true

签名时间戳

signature

string

true

签名

appId

string

true

作品id

componentId

string

true

插件id

uid

string

true

第三方用户id

companyId

string

true

第三方公司id

startTime

string

true

开始时间

endTime

string

true

结束时间 yyyy-MM-dd HH:mm:ss

pageNo

int32

false

页码

pageSize

int32

false

页大小

redStatus

int32

false

红包状态    

0: 待发送

1:正在处理

2:正在发送

3:发送成功

4:发送失败

5:已领取

6:退款中

7:退款成功

8:超时不处理

9:参数错误

Request-body:

{
  "opfid": "30",
  "nonce": "5bce46",
  "timestamp": "2022-05-19 14:33:20",
  "signature": "85o6vr",
  "appId": "30",
  "componentId": "30",
  "uid": "bc299ab7-4b46-4929-9bb3-7e9abd83c18c",
"companyId": "bc299ab7-4b46-4929-9bb3-7e9abd83c18c",
  "startTime": "2022-05-19 14:33:20",
  "endTime": "2022-05-19 14:33:20",
  "pageNo": 859,
  "pageSize": 10,
  "redStatus": 843
}

Response-fields:

Field

Type

Description

Since

code

string

状态码

-

errorCode

string

错误状态码

-

msg

string

状态描述

-

data

object

数据

-

└─list

array


-

     └─openids

array

身份识别字段

-

        └─ openid

string

openid


         └─ unionid

string

unionid


         └─ identityType

string

身份类型


         └─ identityId

string

身份id


         └─ appid

string

微信公众号id


         └─ jcappId

string

自建应用appid


         └─ fromTo

string

来源


         └─ platform

string

来源平台


     └─id

int32

红包主键id

-

     └─audid

int64

客户档案id

-

     └─mchBillNo

string

红包订单id

-

     └─prizeId

string

奖项id

-

     └─amount

int32

红包金额(单位:分)

-

     └─wxResultMsg

string

微信返回信息

-

     └─redStatus

int32

红包状态

0: 待发送

1:正在处理

2:正在发送

3:发送成功

4:发送失败

5:已领取

6:退款中

7:退款成功

8:超时不处理

9:参数错误

-

     └─createTime

string

红包创建时间

-

     └─environment

string

环境

H5:标准h5环境

WX_BROWSER:微信网页环境

WX_MINI_PROGRAM:微信小程序环境

EXT_APP:外部App环境

-

└─pageNo

int32

页码

-

└─pageSize

int32

页容

-

└─totalCount

int32

总数

-

Response-example:

{
  "code": "7904",
  "errorCode": "7904",
  "msg": "lvoix6",
  "data": {
    "list": [
    {
        "openids": [
        {
                 "openid": "111",
        "unionid": "111",
      "identityType": "111",
    "identityId": "11111",
    "appid": "111",
    "jcappId": "111",
          "fromTo": "111",
    "platform": "111"

          }
        ],
        "id": 969,
        "audid": 739,
        "mchBillNo": "2he7sk",
        "prizeId": "30",
        "amount": 298,
        "wxResultMsg": "fff69w",
        "redStatus": 707,
        "createTime": "2022-05-19 14:33:33",
        "environment": "4bhhb8"
      }
    ],
    "pageNo": 676,
    "pageSize": 10,
  "totalCount": 623
    }
  }
}

Curl-example:

curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i /api/platform/plugindata/queryPlayerRedRecordList --data '{
  "opfid": "30",
  "nonce": "5bce46",
  "timestamp": "2022-05-19 14:33:20",
  "signature": "85o6vr",
  "appId": "30",
  "componentId": "30",
  "uid": "bc299ab7-4b46-4929-9bb3-7e9abd83c18c",
  "companyId": "bc299ab7-4b46-4929-9bb3-7e9abd83c18c",
  "startTime": "2022-05-19 14:33:20",
  "endTime": "2022-05-19 14:33:20",
  "pageNo": 859,
  "pageSize": 10,
  "redStatus": 843
}'
  • 无标签