feat(wxapi): 新增小程序短剧媒资剧目授权相关接口

This commit is contained in:
Fu Diwei
2024-01-15 21:49:29 +08:00
parent 3a3097a36a
commit bf4153e0c9
17 changed files with 458 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"authorized_appid": "wx*************",
"drama_id": [ 100200, 100205 ],
"authz_expire_time": 0
}

View File

@@ -0,0 +1,15 @@
{
"errcode": 0,
"errmsg": "ok",
"result": [
{
"drama_id": 100200,
"errcode": 0
},
{
"drama_id": 100205,
"errcode": 1,
"errmsg": "获取剧目100205失败"
}
]
}

View File

@@ -0,0 +1,4 @@
{
"authorized_appid": "wx*************",
"drama_id": [ 100200, 100205 ]
}

View File

@@ -0,0 +1,15 @@
{
"errcode": 0,
"errmsg": "ok",
"result": [
{
"drama_id": 100200,
"errcode": 0
},
{
"drama_id": 100205,
"errcode": 1,
"errmsg": "获取剧目100205的授权信息失败!"
}
]
}

View File

@@ -0,0 +1,4 @@
{
"drama_id": 100206,
"limit": 100
}

View File

@@ -0,0 +1,19 @@
{
"errcode": 0,
"errmsg": "ok",
"objects": [
{
"drama_id": 100206,
"authorized_appid": "wx**********",
"authorized_time": 1702020510,
"authz_expire_time": 0
},
{
"drama_id": 100206,
"authorized_appid": "wx**********",
"authorized_time": 1702020549,
"authz_expire_time": 1703120549
}
],
"total_count": 2
}

View File

@@ -0,0 +1,4 @@
{
"authorizer_appid": "wx*********",
"limit": 100
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"objects": [
{
"drama_id": 100206,
"authorizer_appid": "wx**********",
"authorized_time": 1702020510,
"authz_expire_time": 0
}
],
"total_count": 1
}