解析口令
将废弃
POST
/gateway/douyin.buyin.common.share.command.parse
请求参数
Body 参数application/json
command
string
抖口令或短链
示例
{
"command": "97:/##2kQkUmVF5gD8##:/"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://union.lottefuture.com/gateway/douyin.buyin.common.share.command.parse' \
--header 'Content-Type: application/json' \
--data-raw '{
"command": "97:/##2kQkUmVF5gD8##:/"
}'
返回响应
🟢200成功
application/json
Body
commandType
integer
口令类型 1:商品 2:直播间 3:直播预告 4:活动页 5:抖客红包 6:商品优惠
productInfo
object | null
商品信息,command_type为1或6返回该项
insActivityParam
string
团长参数
productId
integer
商品ID
liveInfo
object | null
直播间信息,command_type为2返回该项
authorBuyinId
string
主播百应ID
productId
integer
商品ID
liveAppointInfo
object | null
直播预告信息,仅command_type为3返回该项
authorBuyinId
string
直播预告对应的达人百应ID
liveAppointmentId
string
直播预告ID
activityInfo
object | null
活动页信息,仅command_type为4返回该项
extraParams
string
活动页自定义参数,对应活动页转链接口的同名参数
materialId
integer
活动物料Id
redpackInfo
object | null
抖客红包信息,仅command_type为5返回该项
redpackId
string
抖客红包ID
示例
{
"commandType": 0,
"productInfo": {
"insActivityParam": "string",
"productId": 0
},
"liveInfo": {
"authorBuyinId": "string",
"productId": 0
},
"liveAppointInfo": {
"authorBuyinId": "string",
"liveAppointmentId": "string"
},
"activityInfo": {
"extraParams": "string",
"materialId": 0
},
"redpackInfo": {
"redpackId": "string"
}
}
修改于 2023-06-18 02:57:48