用户详情
开发中
GET
https://api.chasing.comuser/user_detail
请求参数
Query 参数
uid
string
用户id
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.chasing.comuser/user_detail?uid'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
id
integer
必需
account
string
账号
is_buy
integer
是否购买
is_book
integer
是否订阅
is_enroll
integer
必需
birthday
integer
生日 (时间戳)
CiBalance
object
ci币余额(多条)
Cilog
array [object {10}]
必需
address
object
地址
示例
{
"code": 200,
"msg": "请求成功",
"data": {
"id": 14788,
"account": "freddie@firizarry.com",
"is_buy": 0,
"is_book": 1,
"is_enroll": 1,
"birthday": 19700101,
"CiBalance": {
"ci": [
{
"amount": 34,
"unit": "US $"
}
],
"soon_ci": [
{
"amount": 0,
"unit": "US $"
}
],
"total": [
{
"amount": 34,
"unit": "US $"
}
]
},
"Cilog": [
{
"id": 677,
"order_id": 4272,
"type": 2,
"behavior": 1,
"amount": 34,
"country_id": 47,
"unit": "US $",
"create_time": "2022-08-11 05:18:49",
"update_time": "2023-02-15 16:25:32",
"uid": 14788
}
],
"address": {
"id": 4229,
"uid": 14788,
"surname": "Freddie,Irizarry",
"uname": "",
"country_id": 0,
"address_one": "42 Castillo St.",
"address_tow": "",
"province_id": 0,
"country_name": "PR",
"province_name": "Ponce",
"city_name": "Ponce",
"postal_code": "00731",
"create_time": "2022-08-11 05:14:29",
"phone": "7873788824",
"is_delete": 0
}
}
}
修改于 2024-11-18 09:22:01