文档
测试

用户统计---区域代理

POST
http://shop.qianniangy.net/addons/zjhj_mall/core/web/index.php?r=api%2Fagent%2Fagent%2Fagent-two&access_token=YDr9T5weMcOIuzbdBVKRg-anoY04c3ic&user_id=3&type=1

请求参数

参数名
类型
描述
必填
r
string
示例:api/agent/agent/agent-two
必填
access_token
string
示例:YDr9T5weMcOIuzbdBVKRg-anoY04c3ic
必填
user_id
int
示例:3 用户id
必填
type
int
示例:1 页面层级 1=一级页面 2=二级页面
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:ok
必填
data
object
数据字典
必填
total_orders_count
int
示例:7
必填
total_orders_price
int
示例:3775
必填
agent_total_1
int
示例:1
必填
agent_total_2
int
示例:2
必填
agent
array
数据列表
必填
username
string
示例:柴星星
必填
mobile
string
示例:13213311560
必填
type
string
示例:3
必填
user
object
数据字典
必填
binding
string
示例:13213311560
必填
id
string
示例:4
必填
children
array
数据列表
必填
username
string
示例:苏艳山
必填
mobile
string
示例:13383847891
必填
user
object
示例:null
必填
total
object
数据字典
必填
count
string
示例:0
必填
pay_price
string
示例:0.00
必填
code
int
示例:0
必填