feat(wxapi): 新增小游戏虚拟支付 2.0 相关接口

This commit is contained in:
Fu Diwei
2023-02-15 21:50:56 +08:00
parent 32bc3f6994
commit ccf19fc20e
41 changed files with 918 additions and 177 deletions

View File

@@ -0,0 +1,10 @@
{
"offer_id": "12345678",
"openid": "oUrsfxxxxxxxxxx",
"ts": 1668512806,
"zone_id": "1",
"env": 0,
"bill_no": "test_cancel_pay_1668512806",
"pay_bill_no": "test_pay_1668512428",
"amount": 1
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"bill_no": "test_cancel_pay_1668512806"
}

View File

@@ -0,0 +1,7 @@
{
"offer_id": "12345678",
"openid": "oUrsfxxxxxxxxxx",
"ts": 1668512543,
"zone_id": "1",
"env": 0
}

View File

@@ -0,0 +1,11 @@
{
"errcode": 0,
"errmsg": "ok",
"balance": 11,
"present_balance": 1,
"sum_save": 10,
"sum_present": 1,
"sum_balance": 11,
"sum_cost": 0,
"first_save": false
}

View File

@@ -0,0 +1,11 @@
{
"offer_id": "12345678",
"openid": "oUrsfxxxxxxxxxx",
"ts": 1668512428,
"zone_id": "1",
"env": 0,
"bill_no": "test_pay_1668512428",
"amount": 1,
"payitem": "钻石",
"remark": "测试"
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"bill_no": "test_pay_1668512428",
"balance": 10,
"used_present_amount": 1
}

View File

@@ -0,0 +1,9 @@
{
"offer_id": "12345678",
"openid": "oUrsfxxxxxxxxxx",
"ts": 1668512716,
"zone_id": "1",
"env": 0,
"bill_no": "test_present_1668512716",
"amount": 1
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"bill_no": "test_present_1668512716",
"balance": 11
}