测试出价
开发中
直播-测试环境
http://htb-api-test.bangbanghu.com.cn/htb-live-api
直播-测试环境
http://htb-api-test.bangbanghu.com.cn/htb-live-api
GET
http://localhost:9203/test/bid
最后修改时间:2024-08-10 07:17:09
请求参数
Header 参数
Authorization
string
可选
默认值:
{{user-3718}}
token
string
可选
默认值:
{{后台用户}}
app_version
string
可选
默认值:
7.1.005-debug-282
app_info
string
可选
默认值:
Android15(35)-WIFI
app_code
string
可选
默认值:
bbh-app
user-agent
string
可选
默认值:
Mozilla/5.0 (Linux; Android 15; 23127PN0CC Build/AQ3A.240627.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.127 Mobile Safari/537.36 uni-app Html5Plus/1.0 (Immersed/38.666668)
Body 参数application/json
action
string
必需
params
object
必需
order_paid
string
必需
order_refunded
string
必需
order_created
string
必需
bargain
string
必需
order_cancelled
string
必需
order_audit
string
必需
seller_delivery
string
必需
buyer_delivery
string
必需
示例
{
"action": "modifyCallBackUrl",
"params": {
"order_paid": "http://xx/x",
"order_refunded": "http://xx/x",
"order_created": "http://xx/x",
"bargain": "http://xx/x",
"order_cancelled": "http://xx/x",
"order_audit": "http://xx/x",
"seller_delivery": "http://xx/x",
"buyer_delivery": "http://xx/x"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:9203/test/bid' \
--header 'Authorization: {{user-3718}}' \
--header 'token: {{后台用户}}' \
--header 'app_version: 7.1.005-debug-282' \
--header 'app_info: Android15(35)-WIFI' \
--header 'app_code: bbh-app' \
--header 'user-agent: Mozilla/5.0 (Linux; Android 15; 23127PN0CC Build/AQ3A.240627.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.127 Mobile Safari/537.36 uni-app Html5Plus/1.0 (Immersed/38.666668)' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "modifyCallBackUrl",
"params": {
"order_paid": "http://xx/x",
"order_refunded": "http://xx/x",
"order_created": "http://xx/x",
"bargain": "http://xx/x",
"order_cancelled": "http://xx/x",
"order_audit": "http://xx/x",
"seller_delivery": "http://xx/x",
"buyer_delivery": "http://xx/x"
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-08-10 07:17:09