查询策略
POST
/myauth/web/getStrategy
请求参数
Header 参数
token
string
必需
示例值:
123
Body 参数application/json
id
integer
必需
示例
{
"id": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/myauth/web/getStrategy' \
--header 'token: 123' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
id
integer
必需
name
string
必需
type
integer
必需
value
integer
必需
sort
integer
必需
price
string
必需
fromSoftId
integer
必需
status
integer
必需
fromSoftName
null
必需
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "查询成功",
"sign": "",
"result": {
"id": 1,
"name": "月卡",
"type": 1,
"value": 2678400,
"sort": 1,
"price": "50",
"fromSoftId": 1,
"status": 1,
"fromSoftName": null
},
"timestamp": 1647071960193
}
🔴500错误
修改于 2022-03-13 06:45:51