(即将废弃)
GET代码目录
/tool/open_api/api/user/info
请求Params
请求 Header
响应定义
请求参数
Query参数
Header参数
数据结构
export interface Response {
code: number;
data: Data;
msg: string;
}
export interface Data {
list: List[];
}
export interface List {
/**
* 用户头像
*/
avatar: string;
/**
* 创建时间
*/
created_at: string;
/**
* 表单信息
*/
form_data: FormDatum[];
/**
* 自定义表单ID
*/
form_list_id: number;
/**
* 自定义表单名称
*/
form_list_name: string;
/**
* 用户昵称
*/
nickname: string;
/**
* 支付金额
*/
pay_price: string;
/**
* 用户平台
*/
platform: string;
/**
* 回复信息
*/
reply: string;
/**
* 回复时间
*/
reply_time: string;
/**
* 表提交来源,微页面标题(微页面id)
*/
source: string;
/**
* 用户id
*/
user_id: number;
}
export interface FormDatum {
form_list_id: string;
/**
* 组件唯一值
*/
key: string;
/**
* 组件名
*/
label: string;
new_price: null | string;
page_id: string;
required: number | string;
unique: number | string;
value: Value;
}
export interface Value {
after_send: AfterSend;
after_send_status: number;
allow?: string[];
alone_at?: string;
attr_key: number | string;
begin_at?: string;
city_id?: number;
content?: string;
date_list: string[];
district_id?: string;
end_at?: string;
is_check?: boolean;
is_pay: number;
mode: string;
num: number;
pay_price: number | string;
province_id?: number;
text?: string;
time: string;
title: string;
title_color?: string;
type?: number | string;
}
export interface AfterSend {
after_send_card: AfterSendCard[];
after_send_coupon: AfterSendCoupon[];
after_send_integral: number;
after_send_lottery_limit: number;
after_send_member_name: string;
after_send_plugin: string;
after_send_price: number;
}
export interface AfterSendCard {
id: number;
name: string;
num: number;
}
export interface AfterSendCoupon {
coupon_id: number;
id: string;
name: string;
send_num: number;
}
示例代码
{
"msg": "string",
"data": {
"list": [
{
"form_data": [
{
"key": "string",
"label": "string",
"value": {
"date_list": [
"string"
],
"time": "string",
"mode": "string",
"title": "string",
"pay_price": "string",
"attr_key": "string",
"num": 0,
"is_pay": 0,
"after_send_status": 0,
"after_send": {
"after_send_plugin": "string",
"after_send_lottery_limit": 0,
"after_send_price": 0,
"after_send_integral": 0,
"after_send_member_name": "string",
"after_send_coupon": [
{
"id": "string",
"coupon_id": 0,
"name": "string",
"send_num": 0
}
],
"after_send_card": [
{
"id": 0,
"name": "string",
"num": 0
}
]
},
"type": "string",
"begin_at": "string",
"end_at": "string",
"alone_at": "string",
"is_check": true,
"content": "string",
"title_color": "string",
"text": "string",
"allow": [
"string"
],
"province_id": 0,
"city_id": 0,
"district_id": "string"
},
"required": 0,
"unique": 0,
"new_price": "string",
"form_list_id": "string",
"page_id": "string"
}
],
"user_id": 0,
"nickname": "string",
"avatar": "string",
"platform": "string",
"created_at": "string",
"form_list_name": "string",
"form_list_id": 0,
"reply": "string",
"reply_time": "string",
"source": "string",
"pay_price": "string"
}
]
},
"code": 0
}